From 7d75a5a0e0b8a1de6d60a5c8598bd2e02c969975 Mon Sep 17 00:00:00 2001 From: tamaina Date: Fri, 29 Oct 2021 01:15:48 +0900 Subject: [PATCH] await? --- src/client/init.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/init.ts b/src/client/init.ts index e64804e54b..2f5d03ee32 100644 --- a/src/client/init.ts +++ b/src/client/init.ts @@ -128,7 +128,7 @@ if (loginId) { if (!$i || $i.id !== loginId) { const account = await getAccountFromId(loginId); if (account) { - login(account.token, target); + await login(account.token, target); } }