mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-31 19:15:58 +01:00
feat: migrate topic move socket call to api v3
This commit is contained in:
@@ -207,3 +207,10 @@ Topics.bump = async (req, res) => {
|
||||
|
||||
helpers.formatApiResponse(200, res);
|
||||
};
|
||||
|
||||
Topics.move = async (req, res) => {
|
||||
const { cid } = req.body;
|
||||
await api.topics.move(req, { cid, ...req.params });
|
||||
|
||||
helpers.formatApiResponse(200, res);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user