Files
meet-hub/check_email_logs.sql
dwindown 08e56a22d8 Fix send-auth-otp: Remove notification_logs references
- Remove notification_logs table references (table doesn't exist)
- This was causing the function to crash after sending email
- Now the function should complete successfully
- Added better email payload logging
- Keep .env file for local development
2026-01-02 15:07:41 +07:00

15 lines
278 B
SQL

-- Check recent notification logs for auth_email_verification
SELECT
id,
user_id,
email,
notification_type,
status,
provider,
error_message,
created_at
FROM notification_logs
WHERE notification_type = 'auth_email_verification'
ORDER BY created_at DESC
LIMIT 5;