summaryrefslogtreecommitdiff
path: root/nodejs/lib
diff options
context:
space:
mode:
authorJulien Dessaux2023-09-02 01:06:11 +0200
committerJulien Dessaux2023-09-02 01:06:11 +0200
commit9a71163dda2e0857e2fe3d32be18a54e35bc837c (patch)
tree49fe3370eae2ef86d8673f98a8dfb593c9525219 /nodejs/lib
parent[javascript] implemented paginated requests (diff)
downloadspacetraders-9a71163dda2e0857e2fe3d32be18a54e35bc837c.tar.gz
spacetraders-9a71163dda2e0857e2fe3d32be18a54e35bc837c.tar.bz2
spacetraders-9a71163dda2e0857e2fe3d32be18a54e35bc837c.zip
[javascript] began reworking token handling to match what is done with the haskell client
Diffstat (limited to '')
-rw-r--r--nodejs/lib/api.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/nodejs/lib/api.js b/nodejs/lib/api.js
index 3e2bbd0..f9b981a 100644
--- a/nodejs/lib/api.js
+++ b/nodejs/lib/api.js
@@ -1,7 +1,7 @@
import * as fs from 'fs';
import * as events from 'events';
-import { getToken } from '../database/config.js';
+import { getToken } from '../database/tokens.js';
import { PriorityQueue } from './priority_queue.js';
// queue processor module variables