mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-21 22:45:36 +02:00
fix(client): fix lint issues in scripts (#8621)
This commit is contained in:
@@ -3,5 +3,5 @@ import { get } from '@/scripts/idb-proxy';
|
||||
export async function getAccountFromId(id: string) {
|
||||
const accounts = await get('accounts') as { token: string; id: string; }[];
|
||||
if (!accounts) console.log('Accounts are not recorded');
|
||||
return accounts.find(e => e.id === id);
|
||||
return accounts.find(account => account.id === id);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user