mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 16:46:12 +01:00
multiple test fixes
This commit is contained in:
@@ -51,6 +51,9 @@ module.exports = function (redisClient, module) {
|
||||
|
||||
module.sortedSetRemove = function (key, value, callback) {
|
||||
callback = callback || function () {};
|
||||
if (!value) {
|
||||
return callback();
|
||||
}
|
||||
if (!Array.isArray(value)) {
|
||||
value = [value];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user