mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-12 08:55:47 +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) {
|
||||
if (!err) {
|
||||
plugins.fireHook('action:group.create', {
|
||||
name: data.name
|
||||
});
|
||||
plugins.fireHook('action:group.create', groupData);
|
||||
}
|
||||
|
||||
callback(err);
|
||||
|
||||
Reference in New Issue
Block a user