mirror of
https://github.com/dreamhunter2333/cloudflare_temp_email.git
synced 2026-09-04 23:17:34 +08:00
feat: add AI extract webhook placeholders
This commit is contained in:
@@ -53,7 +53,11 @@ async function testWebhookSettings(c: Context<HonoCustomType>): Promise<Response
|
||||
subject: parsedEmail?.subject || "test subject",
|
||||
raw: raw || "test raw email",
|
||||
parsedText: parsedEmail?.text || "test parsed text",
|
||||
parsedHtml: parsedEmail?.html || "test parsed html"
|
||||
parsedHtml: parsedEmail?.html || "test parsed html",
|
||||
aiExtract: null,
|
||||
aiExtractType: "",
|
||||
aiExtractResult: "",
|
||||
aiExtractResultText: ""
|
||||
});
|
||||
if (!res.success) {
|
||||
return c.text(res.message || "send webhook error", 400);
|
||||
|
||||
Reference in New Issue
Block a user