mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-27 00:56:13 +01:00
feat: allow defining a list of system tags
This commit is contained in:
@@ -216,7 +216,7 @@ module.exports = function (Posts) {
|
||||
if (type === 'topic') {
|
||||
topics.checkTitle(data.title);
|
||||
if (data.tags) {
|
||||
await topics.validateTags(data.tags);
|
||||
await topics.validateTags(data.tags, cid, data.uid);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user