mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-03-14 00:20:40 +01:00
feat: allow defining a list of system tags
This commit is contained in:
@@ -131,7 +131,7 @@ module.exports = function (Posts) {
|
||||
throw new Error('[[error:no-privileges]]');
|
||||
}
|
||||
}
|
||||
await topics.validateTags(data.tags, topicData.cid);
|
||||
await topics.validateTags(data.tags, topicData.cid, data.uid);
|
||||
|
||||
const results = await plugins.hooks.fire('filter:topic.edit', {
|
||||
req: data.req,
|
||||
|
||||
Reference in New Issue
Block a user