Skip to content

Node.js based forum software built for the modern web

fix: wrong method name

Barış Soner Uşaklı8c6ec9a6de12
diff --git a/src/topics/delete.js b/src/topics/delete.js
index 8304f5b0ec..0a5760c402 100644
--- a/src/topics/delete.js
+++ b/src/topics/delete.js
@@ -30,7 +30,7 @@ module.exports = function (Topics) {
resolveTopicPostFlags(pids, uid),
activitypub.out.remove.context(uid, tid),
categories.updateRecentTidForCid(cid),
- posts.queue.removeFromQueueByTid(tid),
+ posts.removeFromQueueByTid(tid),
]);
};