From 504733e35c4971381444c5cb58bc73ebda50236e Mon Sep 17 00:00:00 2001 From: Matt Aitken Date: Mon, 23 Oct 2023 13:44:30 +0100 Subject: [PATCH] Renamed hostname to source --- references/job-catalog/src/httpTrigger.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/references/job-catalog/src/httpTrigger.ts b/references/job-catalog/src/httpTrigger.ts index 4bfec8d57..22afd8ad2 100644 --- a/references/job-catalog/src/httpTrigger.ts +++ b/references/job-catalog/src/httpTrigger.ts @@ -10,9 +10,10 @@ export const client = new TriggerClient({ ioLogLocalEnabled: true, }); +//todo this is a new primitive, it doesn't get register called on it const whatsApp = client.defineHttpEndpoint({ id: "whatsapp", - hostname: "whatsapp.com", + source: "whatsapp.com", //only needed for strange APIs like WhatsApp which don't setup the webhook until you pass the test respondWith: { filter: {