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:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user