mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-30 18:46:01 +01:00
fix: unintentional parseInt during post purge
This commit is contained in:
@@ -417,4 +417,6 @@ Notes.prune = async () => {
|
||||
await batch.processArray(tids, async (tids) => {
|
||||
await Promise.all(tids.map(async tid => await topics.purgePostsAndTopic(tid, 0)));
|
||||
}, { batch: 100 });
|
||||
|
||||
winston.info('[notes/prune] Scheduled pruning of topics complete.');
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user