fix: update stale account url/email on re-login (#18426)
This commit is contained in:
parent
12b8e1c2be
commit
24f9df5463
1 changed files with 2 additions and 0 deletions
|
|
@ -136,6 +136,8 @@ export class AccountRepo extends ServiceMap.Service<AccountRepo, AccountRepo.Ser
|
||||||
.onConflictDoUpdate({
|
.onConflictDoUpdate({
|
||||||
target: AccountTable.id,
|
target: AccountTable.id,
|
||||||
set: {
|
set: {
|
||||||
|
email: input.email,
|
||||||
|
url: input.url,
|
||||||
access_token: input.accessToken,
|
access_token: input.accessToken,
|
||||||
refresh_token: input.refreshToken,
|
refresh_token: input.refreshToken,
|
||||||
token_expiry: input.expiry,
|
token_expiry: input.expiry,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue