mirror of
https://github.com/directus/directus.git
synced 2026-01-28 23:27:59 -05:00
updating to string for reason listed
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user