mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 16:46:12 +01:00
fix: tests
This commit is contained in:
@@ -80,7 +80,7 @@ module.exports = function (redisClient, module) {
|
|||||||
redisClient.hgetall(unCachedKeys[0], (err, data) => next(err, [data]));
|
redisClient.hgetall(unCachedKeys[0], (err, data) => next(err, [data]));
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
function (data) {
|
function (data, next) {
|
||||||
unCachedKeys.forEach(function (key, i) {
|
unCachedKeys.forEach(function (key, i) {
|
||||||
cachedData[key] = data[i] || null;
|
cachedData[key] = data[i] || null;
|
||||||
cache.set(key, cachedData[key]);
|
cache.set(key, cachedData[key]);
|
||||||
|
|||||||
Reference in New Issue
Block a user