Merge pull request #1863 from omnivore-app/fix/gmail-confirmation
Forward Gmail verification email to the user
This commit is contained in:
@ -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)
|
||||
|
||||
Reference in New Issue
Block a user