Fix /projects endpoint: filter shared_with client-side
The .contains() method doesn't work for JSONB arrays in Supabase JS client. Changed to fetch all non-owned projects and filter by shared_with email client-side. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
| Repository | clapointe-carbonleo/mike-legal |
|---|---|
| Author | clapointe-carbonleo <clapointe@carbonleo.com> |
| Authored | |
| Parents | c52c1648 |
| Stats | 1 file changed , +5 , -2 |
| Part of | /projects: replace Supabase `.contains()` on `shared_with` with client-side filter |
Capture this commit into my fork
Download a Markdown prompt that tells Claude how to port this
exact commit into your working tree. Run it via
claude -p < capture-commit-9e02ae0e.md
from inside the repo you want the change in.