fixing groups.leave

This commit is contained in:
psychobunny
2014-09-17 18:32:32 -04:00
parent 6f3cb55709
commit 16accf6cd0

View File

@@ -417,6 +417,8 @@
};
Groups.leave = function(groupName, uid, callback) {
callback = callback || function() {};
db.setRemove('group:' + groupName + ':members', uid, function(err) {
if (err) {
return callback(err);