mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-05-07 06:37:20 +02:00
Merge branch 'master' into develop
This commit is contained in:
@@ -309,6 +309,7 @@ topicsAPI.move = async (caller, { tid, cid }) => {
|
||||
throw new Error('[[error:no-privileges]]');
|
||||
}
|
||||
const topicData = await topics.getTopicFields(tid, ['tid', 'cid', 'mainPid', 'slug', 'deleted']);
|
||||
topicData.toCid = cid;
|
||||
if (!cids.includes(topicData.cid)) {
|
||||
cids.push(topicData.cid);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user