mirror of
https://github.com/bitbaum/orangecat.git
synced 2026-12-04 20:28:04 +01:00
- Replaced 29 JWT tokens with environment variable references - Deleted docs/operations/SUPABASE_API_GUIDE.md (contained real keys) - Removed mcp-servers/node_modules from git tracking (716 files) - Updated .gitignore to prevent future exposure 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
28 lines
915 B
Bash
Executable File
28 lines
915 B
Bash
Executable File
#!/bin/bash
|
|
|
|
SERVICE_KEY="${SUPABASE_SERVICE_ROLE_KEY}"
|
|
BASE_URL="https://ohkueislstxomdjavyhs.supabase.co"
|
|
|
|
echo "=== Checking conversations table ==="
|
|
curl -s "${BASE_URL}/rest/v1/conversations?select=*&limit=3" \
|
|
-H "apikey: ${SERVICE_KEY}" \
|
|
-H "Authorization: Bearer ${SERVICE_KEY}" | jq .
|
|
|
|
echo ""
|
|
echo "=== Checking messages table ==="
|
|
curl -s "${BASE_URL}/rest/v1/messages?select=*&limit=3" \
|
|
-H "apikey: ${SERVICE_KEY}" \
|
|
-H "Authorization: Bearer ${SERVICE_KEY}" | jq .
|
|
|
|
echo ""
|
|
echo "=== Checking conversation_participants table ==="
|
|
curl -s "${BASE_URL}/rest/v1/conversation_participants?select=*&limit=3" \
|
|
-H "apikey: ${SERVICE_KEY}" \
|
|
-H "Authorization: Bearer ${SERVICE_KEY}" | jq .
|
|
|
|
echo ""
|
|
echo "=== Checking profiles table ==="
|
|
curl -s "${BASE_URL}/rest/v1/profiles?select=id,username,name&limit=3" \
|
|
-H "apikey: ${SERVICE_KEY}" \
|
|
-H "Authorization: Bearer ${SERVICE_KEY}" | jq .
|