diff --git a/src/routes/private/creator/emailtest/+page.svelte b/src/routes/private/creator/emailtest/+page.svelte index 01170b4..b6cc634 100644 --- a/src/routes/private/creator/emailtest/+page.svelte +++ b/src/routes/private/creator/emailtest/+page.svelte @@ -5,6 +5,7 @@ import { goto } from '$app/navigation'; let to = ''; let subject = ''; let body = ''; +let qrcode_b64 = ''; let loading = false; let error = ''; let success = ''; @@ -43,12 +44,13 @@ async function sendTestEmail() { to, subject, text: body, + qr_code: qrcode_b64, refreshToken }) }); if (r.ok) { success = 'Email sent!'; - to = subject = body = ''; + to = subject = body = qrcode_b64 = ''; } else { error = await r.text(); } @@ -82,6 +84,10 @@ async function sendTestEmail() { Body +