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