Better visibility into webhook registering, fix for Typeform SDK updating webhook
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@trigger.dev/typeform": patch
|
||||
---
|
||||
|
||||
All Typeform events should be "form_response". Got rid of "all"
|
||||
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@trigger.dev/sdk": patch
|
||||
---
|
||||
|
||||
Show the params to updateSource in the dashboard
|
||||
@@ -195,7 +195,7 @@ export function createWebhookEventSource(
|
||||
|
||||
return {
|
||||
data: newWebhookData,
|
||||
registeredEvents: ["all"],
|
||||
registeredEvents: ["form_response"],
|
||||
};
|
||||
};
|
||||
|
||||
@@ -230,7 +230,7 @@ export function createWebhookEventSource(
|
||||
|
||||
return {
|
||||
data: newWebhookData,
|
||||
registeredEvents: ["all"],
|
||||
registeredEvents: ["form_response"],
|
||||
};
|
||||
} catch (error) {
|
||||
return createWebhook();
|
||||
|
||||
@@ -246,6 +246,7 @@ export class IO {
|
||||
redact: {
|
||||
paths: ["secret"],
|
||||
},
|
||||
params: options,
|
||||
},
|
||||
async (task) => {
|
||||
return await this._apiClient.updateSource(
|
||||
|
||||
Reference in New Issue
Block a user