send groupData on action:group.create

This commit is contained in:
barisusakli
2015-01-18 17:07:21 -05:00
parent 4317b3c872
commit 6f140384e0

View File

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