feat: pass topic creation data to action:topic.save

v1.18.x
Barış Soner Uşaklı 6 years ago
parent 7e872d32f0
commit cd2f72fb73

@ -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);

Loading…
Cancel
Save