Skip to content

Node.js based forum software built for the modern web

fix: tests

Baris Usakli45d7e37ae832
diff --git a/src/database/redis/hash.js b/src/database/redis/hash.js
index 32ed49472c..7be90aa7f0 100644
--- a/src/database/redis/hash.js
+++ b/src/database/redis/hash.js
@@ -80,7 +80,7 @@ module.exports = function (redisClient, module) {
redisClient.hgetall(unCachedKeys[0], (err, data) => next(err, [data]));
}
},
- function (data) {
+ function (data, next) {
unCachedKeys.forEach(function (key, i) {
cachedData[key] = data[i] || null;
cache.set(key, cachedData[key]);