From 5e68e0b00962fd782063b179853d11354b733264 Mon Sep 17 00:00:00 2001 From: barisusakli Date: Mon, 11 Aug 2014 15:41:45 -0400 Subject: [PATCH] same deal as previous commit --- src/database/redis/hash.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/database/redis/hash.js b/src/database/redis/hash.js index 86ed0027d9..63a85f77ec 100644 --- a/src/database/redis/hash.js +++ b/src/database/redis/hash.js @@ -7,6 +7,7 @@ module.exports = function(redisClient, module) { }; module.setObjectField = function(key, field, value, callback) { + callback = callback || function() {}; redisClient.hset(key, field, value, callback); };