Skip to content

Commit f248916

Browse files
author
Ivan Isaakidis
committed
Return data even if isCacheableValue is false
1 parent 6cae7b0 commit f248916

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/caching.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ var caching = function(args) {
113113
}
114114

115115
if (!self._isCacheableValue(data)) {
116-
return cb();
116+
return callbackFiller.fill(key, null, data);
117117
}
118118

119119
self.store.set(key, data, options, function(err) {

0 commit comments

Comments
 (0)