Node.js based forum software built for the modern web
refactor: single line
Barış Soner Uşaklı120b184e5849
diff --git a/src/topics/create.js b/src/topics/create.jsindex 0d6ee1bc19..7a69d98006 100644--- a/src/topics/create.js+++ b/src/topics/create.js@@ -165,8 +165,7 @@ module.exports = function (Topics) {Topics.reply = async function (data) {data = await plugins.hooks.fire('filter:topic.reply', data);- const { tid } = data;- const { uid } = data;+ const { tid, uid } = data;const [topicData, isAdmin] = await Promise.all([Topics.getTopicData(tid),