Fix user profile writes on postgres conflicts

This commit is contained in:
IanShaw027
2026-04-21 10:13:28 -07:00
parent 0f4a8d7be8
commit 525a320424
7 changed files with 104 additions and 9 deletions

View File

@@ -277,7 +277,9 @@ func ensureBoundEmailAuthIdentityWithClient(
).
DoNothing().
Exec(ctx); err != nil {
return err
if !isSQLNoRowsError(err) {
return err
}
}
identity, err := client.AuthIdentity.Query().