await?
This commit is contained in:
parent
4f7ae81d5f
commit
7d75a5a0e0
|
@ -128,7 +128,7 @@ if (loginId) {
|
||||||
if (!$i || $i.id !== loginId) {
|
if (!$i || $i.id !== loginId) {
|
||||||
const account = await getAccountFromId(loginId);
|
const account = await getAccountFromId(loginId);
|
||||||
if (account) {
|
if (account) {
|
||||||
login(account.token, target);
|
await login(account.token, target);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue