feat: add .has() call to cache/ttl

This commit is contained in:
Julian Lam
2023-06-16 11:26:12 -04:00
parent ab3ff320b5
commit 57895b7246

2
src/cache/ttl.js vendored
View File

@@ -30,7 +30,7 @@ module.exports = function (opts) {
});
});
cache.has = (key) => {
cache.has = function (key) {
if (!cache.enabled) {
return false;
}