Update cache_manager.js

This commit is contained in:
tangly1024
2022-06-08 14:15:47 +08:00
committed by GitHub
parent 11623dc3b0
commit 7e62ceb1f8

View File

@@ -25,7 +25,7 @@ export async function getDataFromCache(key) {
if (JSON.stringify(dataFromCache) === '[]') {
return null
}
return MongoCache.getCache(key)
return api.getCache(key)
}
export async function setDataToCache(key, data) {