mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-17 11:11:04 +01:00
if key is fasly not a member
This commit is contained in:
@@ -96,7 +96,7 @@ module.exports = function(db, module) {
|
||||
|
||||
module.isSetMember = function(key, value, callback) {
|
||||
if (!key) {
|
||||
return callback();
|
||||
return callback(null, false);
|
||||
}
|
||||
value = helpers.valueToString(value);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user