From 711af54483d4b072056d981e7012c554aef2d5a1 Mon Sep 17 00:00:00 2001 From: Jonas Daniels Date: Fri, 14 Feb 2025 07:46:57 -0800 Subject: [PATCH] add teamId parameter to webhook endpoints --- .../connect/pay/webhooks/components/webhooks.client.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/dashboard/src/app/team/[team_slug]/[project_slug]/connect/pay/webhooks/components/webhooks.client.tsx b/apps/dashboard/src/app/team/[team_slug]/[project_slug]/connect/pay/webhooks/components/webhooks.client.tsx index bc8a06e73c0..7ec160219d9 100644 --- a/apps/dashboard/src/app/team/[team_slug]/[project_slug]/connect/pay/webhooks/components/webhooks.client.tsx +++ b/apps/dashboard/src/app/team/[team_slug]/[project_slug]/connect/pay/webhooks/components/webhooks.client.tsx @@ -215,6 +215,7 @@ function CreateWebhookButton(props: PropsWithChildren) { clientId: props.clientId, // switching to projectId for lookup, but have to send both during migration projectId: props.projectId, + teamId: props.teamId, }), headers: { "Content-Type": "application/json", @@ -349,6 +350,7 @@ function DeleteWebhookButton( clientId: props.clientId, // switching to projectId for lookup, but have to send both during migration projectId: props.projectId, + teamId: props.teamId, }), pathname: "/webhooks/revoke", });