diff --git a/lib/cache.ts b/lib/cache.ts index c1866a3..32becce 100644 --- a/lib/cache.ts +++ b/lib/cache.ts @@ -20,10 +20,10 @@ async function createCache() { const cache = await createCache(); -export function get(id: string) { - return cache.get(id); +export async function get(id: string) { + return await cache.get(id); } -export function set(id: string, content: any) { - return cache.set(id, content); +export async function set(id: string, content: any) { + return await cache.set(id, content); }