refactor(frontend): use ESM
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
* SPDX-License-Identifier: AGPL-3.0-only
|
||||
*/
|
||||
|
||||
import { get } from '@/scripts/idb-proxy';
|
||||
import { get } from '@/scripts/idb-proxy.js';
|
||||
|
||||
export async function getAccountFromId(id: string) {
|
||||
const accounts = await get('accounts') as { token: string; id: string; }[];
|
||||
|
Reference in New Issue
Block a user