hapi-init-redis
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -28,3 +28,3 @@ /** | ||
cacheClient.set(key, value, 'PX', expiresIn, (error) => { | ||
this.cacheClient.set(key, value, 'PX', expiresIn, (error) => { | ||
if (error) { | ||
@@ -46,3 +46,3 @@ throw error; | ||
cacheClient.get(key, (error, value) => { | ||
this.cacheClient.get(key, (error, value) => { | ||
try { | ||
@@ -49,0 +49,0 @@ value = JSON.parse(value); |
{ | ||
"name": "hapi-init-redis", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Hapi Caching Interface with redis", | ||
@@ -5,0 +5,0 @@ "main": "Cache.js", |
2953