Skip to content

Commit 06d6504

Browse files
authored
add teamId parameter to webhook endpoints (#6260)
1 parent e201e3d commit 06d6504

File tree

1 file changed

+2
-0
lines changed
  • apps/dashboard/src/app/team/[team_slug]/[project_slug]/connect/pay/webhooks/components

1 file changed

+2
-0
lines changed

apps/dashboard/src/app/team/[team_slug]/[project_slug]/connect/pay/webhooks/components/webhooks.client.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,7 @@ function CreateWebhookButton(props: PropsWithChildren<PayWebhooksPageProps>) {
215215
clientId: props.clientId,
216216
// switching to projectId for lookup, but have to send both during migration
217217
projectId: props.projectId,
218+
teamId: props.teamId,
218219
}),
219220
headers: {
220221
"Content-Type": "application/json",
@@ -349,6 +350,7 @@ function DeleteWebhookButton(
349350
clientId: props.clientId,
350351
// switching to projectId for lookup, but have to send both during migration
351352
projectId: props.projectId,
353+
teamId: props.teamId,
352354
}),
353355
pathname: "/webhooks/revoke",
354356
});

0 commit comments

Comments
 (0)