Commit 6193cea
fix: use maybeSingle for profile share route to avoid PGRST116 crash
When no unified profile exists yet, .single() throws instead of
returning null. Switch to .maybeSingle() so the existing 404 handler
responds gracefully.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent 564198f commit 6193cea
1 file changed
Lines changed: 1 addition & 1 deletion
File tree
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
| 68 | + | |
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
| |||
0 commit comments