mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-03 04:25:55 +01:00
sets are storing numbers in mongo as opposed to redis which stores strings, causes tons of problems
This commit is contained in:
@@ -287,14 +287,11 @@
|
||||
}
|
||||
|
||||
module.isMemberOfSets = function(sets, value, callback) {
|
||||
|
||||
|
||||
function iterator(set, next) {
|
||||
module.isSetMember(set, value, next);
|
||||
}
|
||||
|
||||
async.map(sets, iterator, function(err, result) {
|
||||
console.log(err, result);
|
||||
callback(err, result);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user