summaryrefslogtreecommitdiff
path: root/service_grab.js
diff options
context:
space:
mode:
Diffstat (limited to 'service_grab.js')
-rw-r--r--service_grab.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/service_grab.js b/service_grab.js
index 2ce1572..895d8f2 100644
--- a/service_grab.js
+++ b/service_grab.js
@@ -285,7 +285,7 @@ module.exports = class Analyzer extends Service {
last_match = await db.Participant.findOne({
attributes: ["created_at"],
where: { shard_id: region },
- order: [ [db.col("created_at"), "DESC"] ]
+ order: [ [Seq.col("created_at"), "DESC"] ]
});
if (last_match == null) grabstart = undefined;
else grabstart = last_match.get("created_at");