feat: migrate topic move socket call to api v3

This commit is contained in:
Julian Lam
2024-08-15 13:28:51 -04:00
parent 3476ab0db9
commit 2d14a79854
6 changed files with 96 additions and 35 deletions

View File

@@ -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);
};