You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: apps/dashboard/src/app/team/[team_slug]/[project_slug]/connect/universal-bridge/webhooks/components/webhooks.client.tsx
+13-10Lines changed: 13 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -57,6 +57,7 @@ type Webhook = {
57
57
createdAt: string;
58
58
id: string;
59
59
secret: string;
60
+
version?: string;// TODO (UB) make this mandatory after migration
60
61
};
61
62
62
63
typePayWebhooksPageProps={
@@ -75,7 +76,7 @@ export function PayWebhooksPage(props: PayWebhooksPageProps) {
75
76
queryFn: async()=>{
76
77
constres=awaitpayServerProxy({
77
78
method: "GET",
78
-
pathname: "/webhooks/get-all",
79
+
pathname: "/webhooks/get-all",// TODO (UB) switch to UB endpoint after migration
79
80
searchParams: {
80
81
/**
81
82
* @deprecated - remove after migration
@@ -147,6 +148,7 @@ export function PayWebhooksPage(props: PayWebhooksPageProps) {
147
148
<TableHead>Url</TableHead>
148
149
<TableHead>Secret</TableHead>
149
150
<TableHead>Created</TableHead>
151
+
<TableHead>Webhook Version</TableHead>
150
152
<TableHead>Delete</TableHead>
151
153
</TableRow>
152
154
</TableHeader>
@@ -166,6 +168,7 @@ export function PayWebhooksPage(props: PayWebhooksPageProps) {
0 commit comments