diff --git a/composables/cache.ts b/composables/cache.ts index 853ca2bd..82af96c9 100644 --- a/composables/cache.ts +++ b/composables/cache.ts @@ -42,7 +42,7 @@ export function fetchAccount(id: string): Promise { return promise } -export function fetchAccountByName(acct: string): Promise { +export async function fetchAccountByName(acct: string): Promise { const key = `account:${acct}` const cached = cache.get(key) if (cached)