mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-27 17:16:14 +01:00
only send back error for sortedSetsRemove
This commit is contained in:
@@ -59,7 +59,9 @@ module.exports = function(redisClient, module) {
|
||||
};
|
||||
|
||||
module.sortedSetsRemove = function(keys, value, callback) {
|
||||
multi('zrem', keys, value, callback);
|
||||
multi('zrem', keys, value, function(err) {
|
||||
callback(err);
|
||||
});
|
||||
};
|
||||
|
||||
module.sortedSetsRemoveRangeByScore = function(keys, min, max, callback) {
|
||||
|
||||
Reference in New Issue
Block a user