@quantos/micro-request
Advanced tools
Comparing version 1.1.8 to 1.1.9
@@ -78,3 +78,3 @@ "use strict"; | ||
if (fetched.map((u) => u.id).indexOf(id) < 0) { | ||
yield redis_cache_1.RedisCache.set(id, { id: null }, _cachePrefix); | ||
yield redis_cache_1.RedisCache.set(id, { id: id }, _cachePrefix); | ||
} | ||
@@ -81,0 +81,0 @@ } |
{ | ||
"name": "@quantos/micro-request", | ||
"version": "1.1.8", | ||
"version": "1.1.9", | ||
"description": "Quantos http client with cache, retry and fallback mechanism", | ||
@@ -5,0 +5,0 @@ "author": "fabriziotognetto <info@quantos.it>", |
@@ -90,3 +90,3 @@ import { fallbackErrorHandler } from './fallback_error_handler'; | ||
if (fetched.map((u) => u.id).indexOf(id) < 0) { | ||
await RedisCache.set<Y, T>(id, { id: null } as T, _cachePrefix); | ||
await RedisCache.set<Y, T>(id, { id: id } as T, _cachePrefix); | ||
} | ||
@@ -93,0 +93,0 @@ } |
Sorry, the diff of this file is not supported yet
40511