getAdminPocketBase reads PB_ADMIN_EMAIL/PB_ADMIN_PASSWORD which are server-only env vars. The modal mount is a client component, so the admin client would fail to authenticate at runtime. The users PB session already has read access; switch to getPocketBase. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Co-authored-by: Orca <help@stably.ai> |
||
|---|---|---|
| .. | ||
| (app) | ||
| (auth) | ||
| api | ||
| favicon.ico | ||
| globals.css | ||
| layout.tsx | ||
| offline.tsx | ||
| page.tsx | ||