mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-12 17:05:51 +01:00
send groupData on action:group.create
This commit is contained in:
@@ -434,9 +434,7 @@ var async = require('async'),
|
|||||||
|
|
||||||
async.parallel(tasks, function(err) {
|
async.parallel(tasks, function(err) {
|
||||||
if (!err) {
|
if (!err) {
|
||||||
plugins.fireHook('action:group.create', {
|
plugins.fireHook('action:group.create', groupData);
|
||||||
name: data.name
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
|
|
||||||
callback(err);
|
callback(err);
|
||||||
|
|||||||
Reference in New Issue
Block a user