This commit is contained in:
Barış Soner Uşaklı
2017-05-27 23:58:12 -04:00
parent 08aaabd33c
commit 5e90e4db02
2 changed files with 37 additions and 6 deletions

View File

@@ -148,7 +148,9 @@ module.exports = function (Groups) {
async.parallel([
async.apply(db.setRemove, 'group:' + groupName + ':pending', uid),
async.apply(db.setRemove, 'group:' + groupName + ':invited', uid),
], callback);
], function (err) {
callback(err);
});
};
Groups.invite = function (groupName, uid, callback) {