mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-05 15:20:39 +01:00
closes #2546
This commit is contained in:
@@ -10,7 +10,9 @@ module.exports = function(redisClient, module) {
|
||||
|
||||
module.setObjectField = function(key, field, value, callback) {
|
||||
callback = callback || function() {};
|
||||
redisClient.hset(key, field, value, callback);
|
||||
redisClient.hset(key, field, value, function(err) {
|
||||
callback(err);
|
||||
});
|
||||
};
|
||||
|
||||
module.getObject = function(key, callback) {
|
||||
|
||||
Reference in New Issue
Block a user