mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-12-20 07:20:27 +01:00
feat: add tools to recent/unread (#8477)
* feat: add tools to recent/unread * fix: open api spec * fix: more api spec
This commit is contained in:
committed by
GitHub
parent
14eafcb6b8
commit
658dd03b03
@@ -95,6 +95,7 @@ categoryController.get = async function (req, res, next) {
|
||||
categoryData.description = translator.escape(categoryData.description);
|
||||
categoryData.privileges = userPrivileges;
|
||||
categoryData.showSelect = userPrivileges.editable;
|
||||
categoryData.showTopicTools = userPrivileges.editable;
|
||||
categoryData.rssFeedUrl = nconf.get('url') + '/category/' + categoryData.cid + '.rss';
|
||||
if (parseInt(req.uid, 10)) {
|
||||
categories.markAsRead([cid], req.uid);
|
||||
|
||||
Reference in New Issue
Block a user