fix: unwrap all the promises

This commit is contained in:
max_richter 2023-07-26 16:34:37 +02:00
parent d43c661126
commit 07160e367a

View File

@ -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);
}