- 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
15 lines
278 B
SQL
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;
|