Skip to content

Commit 24f9df5

Browse files
authored
fix: update stale account url/email on re-login (#18426)
1 parent 12b8e1c commit 24f9df5

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

  • packages/opencode/src/account

packages/opencode/src/account/repo.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,8 @@ export class AccountRepo extends ServiceMap.Service<AccountRepo, AccountRepo.Ser
136136
.onConflictDoUpdate({
137137
target: AccountTable.id,
138138
set: {
139+
email: input.email,
140+
url: input.url,
139141
access_token: input.accessToken,
140142
refresh_token: input.refreshToken,
141143
token_expiry: input.expiry,

0 commit comments

Comments
 (0)