Node.js based forum software built for the modern web
feat: pass topic creation data to action:topic.save
Barış Soner Uşaklıcd2f72fb731c
diff --git a/src/topics/create.js b/src/topics/create.jsindex ffb2077cb8..60c2ea78e4 100644--- a/src/topics/create.js+++ b/src/topics/create.js@@ -85,7 +85,7 @@ module.exports = function (Topics) {], next);},function (results, next) {- plugins.fireHook('action:topic.save', { topic: _.clone(topicData) });+ plugins.fireHook('action:topic.save', { topic: _.clone(topicData), data: data });next(null, topicData.tid);},], callback);