Files
meet-hub/check_template.sh
dwindown 06d6845456 Fix API token mapping and add extensive debug logging
- Fixed api_token vs mailketing_api_token column mapping
- Added comprehensive debug logging to send-auth-otp
- Added fallback logic for missing settings fields
- Improved error messages for troubleshooting

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-02 14:31:23 +07:00

21 lines
461 B
Bash
Executable File

#!/bin/bash
# Test query to check if template exists and what's in the table
# Run this in your Supabase SQL editor or via psql
echo "=== Check if template exists ==="
cat << 'SQL'
-- Check if template exists
SELECT key, name, is_active
FROM notification_templates
WHERE key = 'auth_email_verification';
-- Check all templates
SELECT key, name, is_active
FROM notification_templates
ORDER BY key;
-- Check table structure
\d notification_templates;
SQL