diff --git a/utils/Query.ts b/utils/Query.ts index 4f66891..98128cf 100644 --- a/utils/Query.ts +++ b/utils/Query.ts @@ -249,7 +249,7 @@ export const get = { (await Promise.all(key.map(async (el: string) => { const json = JSON.parse(el) return await getBotSubmit(json.id, json.date) - }))) + }))).map(row => serialize(row)) , { cacheMap: new TLRU({ maxStoreSize: 50, maxAgeMs: 60000 }) }), list: { category: new DataLoader(