summaryrefslogtreecommitdiff
path: root/worker.js
diff options
context:
space:
mode:
Diffstat (limited to 'worker.js')
-rw-r--r--worker.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/worker.js b/worker.js
index e667950..90d8274 100644
--- a/worker.js
+++ b/worker.js
@@ -95,7 +95,7 @@ function snakeCaseKeys(obj) {
// TODO expire this cache after some time
let premium_users = (await model.Gamer.findAll()).map((gamer) =>
- gamer.name);
+ gamer.api_id);
// as long as the queue is filled, msg are not ACKed
// server sends as long as there are less than `prefetch` unACKed