feat: add mail id and url in webhook (#443)

This commit is contained in:
Dream Hunter
2024-09-09 22:29:18 +08:00
committed by GitHub
parent 5ece49a576
commit 393c5902c3
11 changed files with 87 additions and 12 deletions
+1 -1
View File
@@ -50,7 +50,7 @@ async function email(message: ForwardableEmailMessage, env: Bindings, ctx: Execu
try {
await triggerWebhook(
{ env: env } as Context<HonoCustomType>,
message.to, rawEmail
message.to, rawEmail, message_id
);
} catch (error) {
console.log("send webhook error", error);