We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b5339ac commit 1740dacCopy full SHA for 1740dac
1 file changed
packages/prime-ui/src/routes/settings/WebhookCalls.tsx
@@ -14,20 +14,23 @@ export const WebhookCalls = ({ match }: any) => (
14
variables={{ id: match.params.webhookId }}
15
fetchPolicy="network-only"
16
query={gql`
17
- query allWebhookCalls($id: ID!) {
18
- allWebhookCalls(id: $id) {
+ query Webhook(id:ID!) {
+ Webhook(id:$id) {
19
id
20
- success
21
- status
22
- request
23
- response
24
- executedAt
+ calls {
+ id
+ success
+ status
+ request
25
+ response
26
+ executedAt
27
+ }
28
}
29
30
`}
31
>
32
{({ data, error, loading }) => {
- const items = get(data, 'allWebhookCalls', []);
33
+ const items = get(data, 'Webhook.calls', []);
34
35
return (
36
<Table
0 commit comments