Fix email unconfirmed login flow with OTP resend and update email API field names
This commit is contained in:
@@ -509,12 +509,12 @@ export function NotifikasiTab() {
|
||||
// Send test email using send-email-v2
|
||||
const { data, error } = await supabase.functions.invoke('send-email-v2', {
|
||||
body: {
|
||||
to: template.test_email,
|
||||
recipient: template.test_email,
|
||||
api_token: emailData.api_token,
|
||||
from_name: emailData.from_name,
|
||||
from_email: emailData.from_email,
|
||||
subject: processedSubject,
|
||||
html_body: fullHtml,
|
||||
content: fullHtml,
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user