mirror of
https://github.com/taobataoma/meanTorrent.git
synced 2026-02-27 16:50:59 +01:00
feat(forums): admin/Moderators and topic owner can edit topic title when click on the title text
#20
This commit is contained in:
@@ -456,6 +456,7 @@ exports.updateTopic = function (req, res) {
|
||||
});
|
||||
}
|
||||
|
||||
topic.title = req.body.title;
|
||||
topic.content = req.body.content;
|
||||
topic.updatedAt = Date.now();
|
||||
topic.updatedBy = req.user;
|
||||
|
||||
Reference in New Issue
Block a user