kopia lustrzana https://github.com/elk-zone/elk
fix: use local masto
rodzic
7415c5fca2
commit
40a510f43d
|
@ -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
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue