mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-12 08:55:47 +01:00
fix Group.exists if an array is passed in
This commit is contained in:
@@ -400,7 +400,7 @@ var async = require('async'),
|
||||
});
|
||||
async.parallel([
|
||||
async.apply(db.isObjectFields, 'groupslug:groupname', slugs),
|
||||
async.apply(db.isSortedSetMember, 'groups:createtime', name)
|
||||
async.apply(db.isSortedSetMembers, 'groups:createtime', name)
|
||||
], function(err, results) {
|
||||
if (err) {
|
||||
return callback(err);
|
||||
|
||||
Reference in New Issue
Block a user