From 82eb07e82766a8684d0a868228682d46340d80b9 Mon Sep 17 00:00:00 2001 From: fatchan Date: Sat, 30 May 2020 21:02:32 +1000 Subject: [PATCH] if this fixes #145 im gonna kill myself --- schedules/webring.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/schedules/webring.js b/schedules/webring.js index 6978e573..8f734256 100644 --- a/schedules/webring.js +++ b/schedules/webring.js @@ -62,7 +62,7 @@ module.exports = async () => { await tempCollection.insertMany(webringBoards); await tempCollection.aggregate([ { $out : 'webring' } - ]); + ]).toArray(); await tempCollection.drop(); } else { //otherwise none found, so delete them all