mirror of
https://github.com/anomalyco/opencode.git
synced 2026-08-11 08:23:41 +00:00
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({
|
||||
target: AccountTable.id,
|
||||
set: {
|
||||
email: input.email,
|
||||
url: input.url,
|
||||
access_token: input.accessToken,
|
||||
refresh_token: input.refreshToken,
|
||||
token_expiry: input.expiry,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue