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
This commit is contained in:
14
check_email_logs.sql
Normal file
14
check_email_logs.sql
Normal file
@@ -0,0 +1,14 @@
|
||||
-- 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;
|
||||
Reference in New Issue
Block a user