forked from Mirrors/elk
fix: use local masto
This commit is contained in:
parent
7415c5fca2
commit
40a510f43d
1 changed files with 2 additions and 2 deletions
|
@ -40,12 +40,12 @@ export async function loginTo(user: UserLogin & { account?: AccountCredentials }
|
|||
url: `https://${user.server}`,
|
||||
accessToken: user.token,
|
||||
})
|
||||
const me = await useMasto().accounts.verifyCredentials()
|
||||
const me = await masto.accounts.verifyCredentials()
|
||||
user.account = me
|
||||
|
||||
users.value.push(user)
|
||||
currentUserId.value = me.id
|
||||
servers.value[me.id] = await useMasto().instances.fetch()
|
||||
servers.value[me.id] = await masto.instances.fetch()
|
||||
await reloadPage()
|
||||
return true
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue