From 017c8f5f8ac2697902937e60fb8aabddc1668955 Mon Sep 17 00:00:00 2001 From: Hongbo Wu Date: Tue, 7 Mar 2023 18:50:08 +0800 Subject: [PATCH] Forward Gmail verification email to the user --- packages/inbound-email-handler/src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/inbound-email-handler/src/index.ts b/packages/inbound-email-handler/src/index.ts index 12e587e3c..adb44f4eb 100644 --- a/packages/inbound-email-handler/src/index.ts +++ b/packages/inbound-email-handler/src/index.ts @@ -141,7 +141,6 @@ export const inboundEmailHandler = Sentry.GCPFunction.wrapHttpFunction( if (isConfirmationEmail(from, subject)) { console.log('handleConfirmation', from) await handleConfirmation(to, subject) - return res.send('ok') } if (pdfAttachment) { @@ -187,6 +186,7 @@ export const inboundEmailHandler = Sentry.GCPFunction.wrapHttpFunction( receivedEmailId, }, }) + res.send('ok') } } catch (e) { console.log(e)