This commit is contained in:
tamaina
2021-03-23 21:41:22 +09:00
parent 8ada2d78ed
commit c424af70af
3 changed files with 10 additions and 11 deletions

View File

@@ -5,9 +5,9 @@
declare var self: ServiceWorkerGlobalScope;
import { SwMessage, swMessageOrderType } from './types';
import renderAcct from '../../misc/acct/render';
import { getAccountFromId } from '@/scripts/get-account-from-id';
import { appendLoginId } from '@/scripts/login-id';
import renderAcct from '@/misc/acct/render';
import { getAccountFromId } from '@client/scripts/get-account-from-id';
import { appendLoginId } from '@client/scripts/login-id';
export async function api(endpoint: string, userId: string, options: any = {}) {
const account = await getAccountFromId(userId);