mirror of
https://github.com/elk-zone/elk.git
synced 2024-11-05 00:19:59 +00:00
fix: cache account
This commit is contained in:
parent
9f44e607ad
commit
569ae00284
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ export function fetchAccount(id: string): Promise<Account> {
|
|||
return promise
|
||||
}
|
||||
|
||||
export function fetchAccountByName(acct: string): Promise<Account> {
|
||||
export async function fetchAccountByName(acct: string): Promise<Account> {
|
||||
const key = `account:${acct}`
|
||||
const cached = cache.get(key)
|
||||
if (cached)
|
||||
|
|
Loading…
Reference in a new issue