Node.js based forum software built for the modern web
fix: tests
Barış Soner Uşaklı6924a22238c4
diff --git a/src/posts/queue.js b/src/posts/queue.jsindex 2134f44fe9..7d7154f591 100644--- a/src/posts/queue.js+++ b/src/posts/queue.js@@ -97,7 +97,9 @@ module.exports = function (Posts) {topics.checkContent(data.content);if (type === 'topic') {topics.checkTitle(data.title);- await topics.validateTags(data.tags);+ if (data.tags) {+ await topics.validateTags(data.tags);+ }}const [canPost] = await Promise.all([