feat: add AI extract webhook placeholders

This commit is contained in:
Dream Hunter
2026-05-29 02:27:46 +08:00
committed by GitHub
parent cfb31807f1
commit bf786947e3
10 changed files with 56 additions and 6 deletions
+5 -1
View File
@@ -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);