update cache

This commit is contained in:
Tanya Byrne
2020-08-24 13:00:50 +01:00
parent 1f8e8ef4ee
commit 34c934cd5b

View File

@@ -45,7 +45,7 @@ const cacheMiddleware: RequestHandler = asyncHandler(async (req, res, next) => {
// use the node cache
const nodeCache = new CacheService(600, 600);
const cahced = nodeCache.getCache(key, JSON.stringify(res.json));
nodeCache.getCache(key, JSON.stringify(res.json));
}
return next();