mirror of
https://github.com/tooot-app/app
synced 2025-06-05 22:19:13 +02:00
Fixed #19
This commit is contained in:
@ -27,7 +27,7 @@ const netInfo = async (): Promise<{
|
||||
.then(res => {
|
||||
log('log', 'netInfo', 'local credential check passed')
|
||||
if (
|
||||
res.id !==
|
||||
res.body.id !==
|
||||
store.getState().instances.local?.instances[activeIndex].account.id
|
||||
) {
|
||||
log('error', 'netInfo', 'local id does not match remote id')
|
||||
@ -36,8 +36,8 @@ const netInfo = async (): Promise<{
|
||||
} else {
|
||||
store.dispatch(
|
||||
updateLocalAccount({
|
||||
acct: res.acct,
|
||||
avatarStatic: res.avatar_static
|
||||
acct: res.body.acct,
|
||||
avatarStatic: res.body.avatar_static
|
||||
})
|
||||
)
|
||||
return Promise.resolve({ connected: true })
|
||||
|
Reference in New Issue
Block a user