From 2da9199e18e3ae3d59c19f807768feaeca8a548a Mon Sep 17 00:00:00 2001 From: Tanya Byrne Date: Wed, 19 Aug 2020 18:57:31 +0100 Subject: [PATCH] updating to string for reason listed --- api/src/services/node-cache.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/api/src/services/node-cache.ts b/api/src/services/node-cache.ts index 74f54d87c9..b418c71014 100644 --- a/api/src/services/node-cache.ts +++ b/api/src/services/node-cache.ts @@ -27,8 +27,10 @@ export default class NodeCacheService { this.apiCache.del(keys); } // attempt to get the cache based on the key, if it is empty then set it + // am aware there is json interface but not sure but looks like endpoints + // convert string to json - async getCache(key: string, setData: JSON) { + async getCache(key: string, setData: string) { // first get the value const value = this.apiCache.get(key);