mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-07-05 11:59:48 +02:00
fix upgrade script
This commit is contained in:
@@ -26,7 +26,7 @@ module.exports = {
|
||||
});
|
||||
|
||||
await batch.processArray(removePosts, async (pids) => {
|
||||
await db.sortedSetsRemove(['posts:pid', 'posts:votes'], pids);
|
||||
await db.sortedSetRemove(['posts:pid', 'posts:votes'], pids);
|
||||
}, {
|
||||
batch: 500,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user