Skip to content

Commit 3fa927c

Browse files
author
Scott Taylor
committed
Fixed small bug with set parameter (from array to element)
1 parent 62f3d4f commit 3fa927c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: lib/multi_caching.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ var multiCaching = function(caches, options) {
130130
} else if (_isCacheableValue(result)) {
131131
// break out of async loop.
132132
for (let j = 0; j < i; i++) {
133-
caches[j].store.set(keys, result);
133+
caches[j].store.set(keys[0], result);
134134
}
135135
return cb(err, result, i);
136136
}

0 commit comments

Comments
 (0)