mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-02-14 18:47:32 +01:00
fix: typo, client-side handling of crossposts as pertains to uncategorized topics
This commit is contained in:
@@ -231,7 +231,7 @@ Topics.crosspost = async (req, res) => {
|
||||
Topics.uncrosspost = async (req, res) => {
|
||||
const { cid } = req.body;
|
||||
const crossposts = await topics.crossposts.remove(req.params.tid, cid, req.uid);
|
||||
await activitypub.out.undo.announce('uid', req.uid, req.parms.tid);
|
||||
await activitypub.out.undo.announce('uid', req.uid, req.params.tid);
|
||||
|
||||
helpers.formatApiResponse(200, res, { crossposts });
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user