mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Update comment
This commit is contained in:
parent
0a2598e296
commit
182860e4d3
1 changed files with 2 additions and 1 deletions
|
|
@ -134,7 +134,7 @@ export const inboundEmailHandler = Sentry.GCPFunction.wrapHttpFunction(
|
|||
})
|
||||
|
||||
try {
|
||||
// check if it is a subscription google confirmation email
|
||||
// check if it is a subscription or google confirmation email
|
||||
const isGoogleConfirmation = isGoogleConfirmationEmail(from, subject)
|
||||
if (isGoogleConfirmation || isSubscriptionConfirmationEmail(subject)) {
|
||||
console.debug('handleConfirmation', from, subject)
|
||||
|
|
@ -159,6 +159,7 @@ export const inboundEmailHandler = Sentry.GCPFunction.wrapHttpFunction(
|
|||
}
|
||||
if (pdfAttachment) {
|
||||
console.log('handle PDF attachment', from, to)
|
||||
// save the pdf attachment as an article
|
||||
await handlePdfAttachment(
|
||||
to,
|
||||
pdfAttachmentName,
|
||||
|
|
|
|||
Loading…
Reference in a new issue