Skip to content

Commit 663b0d3

Browse files
committed
add webhook id to test webhook
1 parent f7ce6be commit 663b0d3

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

apps/dashboard/src/@/api/insight/webhooks.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ interface WebhookSingleResponse {
5858
}
5959

6060
interface TestWebhookPayload {
61+
webhook_id?: string;
6162
webhook_url: string;
6263
type?: "event" | "transaction";
6364
}

apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/webhooks/hooks/useTestWebhook.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export function useTestWebhook(clientId: string) {
4141
});
4242

4343
const result = await testWebhook(
44-
{ type, webhook_url: webhookUrl },
44+
{ type, webhook_url: webhookUrl, webhook_id: id },
4545
clientId,
4646
);
4747

0 commit comments

Comments
 (0)