mirror of
https://github.com/beilunyang/moemail.git
synced 2026-06-03 06:30:05 +08:00
fix: new received emails not showing
This commit is contained in:
@@ -29,6 +29,7 @@ const handleEmail = async (message: ForwardableEmailMessage, env: Env) => {
|
||||
subject: parsedMessage.subject || '(无主题)',
|
||||
content: parsedMessage.text || '',
|
||||
html: parsedMessage.html || '',
|
||||
type: 'received',
|
||||
}).returning().get()
|
||||
|
||||
const webhook = await db.query.webhooks.findFirst({
|
||||
|
||||
Reference in New Issue
Block a user