Commit e3821ad
committed
fix(passport): handle 409 conflict as success in registerOffchain
- Treat 409 Conflict error as success (user already registered)
- Check for multiple error indicators: '409', 'conflict', 'already registered'
- Add informative log message for debugging
- Prevents unnecessary error display to users who are already registered1 parent d28db96 commit e3821ad
1 file changed
Lines changed: 10 additions & 0 deletions
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
52 | 62 | | |
53 | 63 | | |
0 commit comments