bugfix broken schedule

jschan
Thomas Lynch 3 years ago
parent 65097c40aa
commit c084b5960a
  1. 2
      schedules/tasks/ips.js

@ -41,7 +41,7 @@ module.exports = {
});
});
console.log(`Randomising ip on ${bulkWrites.length} posts`);
if (bulkWrites.length.length > 0) {
if (bulkWrites.length > 0) {
await Posts.db.bulkWrite(bulkWrites);
}
},

Loading…
Cancel
Save