mirror of
https://github.com/directus/directus.git
synced 2026-01-30 04:38:13 -05:00
update cache
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user