style changes

This commit is contained in:
Barış Soner Uşaklı
2017-05-27 01:44:26 -04:00
parent bcc566fb68
commit 890c2eff70
16 changed files with 908 additions and 907 deletions

View File

@@ -55,7 +55,7 @@ module.exports = function (redisClient, module) {
if (!Array.isArray(fields) || !fields.length) {
return callback(null, keys.map(function () { return {}; }));
}
var multi = redisClient.multi();
var multi = redisClient.multi();
for (var x = 0; x < keys.length; x += 1) {
multi.hmget.apply(multi, [keys[x]].concat(fields));