Renamed hostname to source

This commit is contained in:
Matt Aitken
2023-10-23 13:44:30 +01:00
parent 54d3843448
commit 504733e35c
+2 -1
View File
@@ -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: {