From 9e3b4e5e12d4a1ebad7c5fd55062f0dce440064d Mon Sep 17 00:00:00 2001 From: cercopith <61226260+XSPGMike@users.noreply.github.com> Date: Thu, 30 Mar 2023 00:03:34 +0200 Subject: [PATCH] Update mail.ts --- src/mail.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/mail.ts b/src/mail.ts index 0337fc4..ca0d380 100644 --- a/src/mail.ts +++ b/src/mail.ts @@ -46,15 +46,15 @@ const getLatestEmail = async (sid_token) => { } const getEmailContent = async (sid_token, id) => { - const response = await fetch(`${BASEURL}?f=fetch_email&email_id=${id}&sid_token=${sid_token}`) - const content = await response.json(); - return (/\b(? { const emailData = await getLatestEmail(sid_token) return ( - await getEmailContent(sid_token, emailData.mail_id) + await getEmailContent(sid_token, emailData.mail_id) ) }