mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Fix to email address in saveNewsletterEmail
This commit is contained in:
parent
02d505a7e2
commit
21329949e5
1 changed files with 1 additions and 3 deletions
|
|
@ -50,12 +50,10 @@ export function emailsServiceRouter() {
|
|||
return
|
||||
}
|
||||
|
||||
const isNewsletter = isProbablyNewsletter(data.html)
|
||||
console.log('isNewsletter:', isNewsletter)
|
||||
if (isProbablyNewsletter(data.html)) {
|
||||
console.log('handling as newsletter', data)
|
||||
await saveNewsletterEmail({
|
||||
email: data.from,
|
||||
email: data.to,
|
||||
title: data.subject,
|
||||
content: data.html,
|
||||
author: data.from,
|
||||
|
|
|
|||
Loading…
Reference in a new issue