Save received email before publishing data

This commit is contained in:
Hongbo Wu
2023-01-18 22:35:07 +08:00
parent 064ea5a782
commit 8f9c317dd1
10 changed files with 86 additions and 95 deletions

View File

@ -49,6 +49,7 @@ describe('saveNewsletterEmail', () => {
url,
title,
author,
receivedEmailId: '',
},
newsletterEmail,
ctx
@ -83,6 +84,7 @@ describe('saveNewsletterEmail', () => {
author,
from: 'fake from',
text: 'fake text',
receivedEmailId: '',
},
newsletterEmail,
ctx