mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-06 23:52:58 +01:00
use correct names
This commit is contained in:
@@ -111,10 +111,10 @@ module.exports = function(Groups) {
|
||||
return next(new Error('[[error:group-already-member]]'));
|
||||
}
|
||||
|
||||
db.setAdd('group:' + groupName + ':invited', uid, next);
|
||||
db.setAdd(set, uid, next);
|
||||
},
|
||||
function(next) {
|
||||
plugins.fireHook('action:group.inviteMember', {
|
||||
plugins.fireHook(hookName, {
|
||||
groupName: groupName,
|
||||
uid: uid
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user