mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-27 17:16:14 +01:00
fix: #9040
This commit is contained in:
@@ -115,6 +115,6 @@ Topics.addThumb = async (req, res) => {
|
||||
};
|
||||
|
||||
Topics.deleteThumb = async (req, res) => {
|
||||
await topics.thumbs.delete(req.params.tid, req.query.path);
|
||||
await topics.thumbs.delete(req.params.tid, req.body.path);
|
||||
helpers.formatApiResponse(200, res, await topics.thumbs.get(req.params.tid));
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user