Fix admin panel to use working email function (send-email-v2)

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

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
dwindown
2025-12-22 18:41:45 +07:00
parent 75f8329e8e
commit 1fe0aa0b96

View File

@@ -161,7 +161,7 @@ export function NotifikasiTab() {
setSendingTest(true); setSendingTest(true);
try { try {
const { data, error } = await supabase.functions.invoke('send-test-email', { const { data, error } = await supabase.functions.invoke('send-email-v2', {
body: { body: {
to: testEmail, to: testEmail,
smtp_host: smtp.smtp_host, smtp_host: smtp.smtp_host,