+6
-2
@@ -1,7 +1,11 @@
|
||||
import gql from 'graphql-tag';
|
||||
import { WEBHOOK_FRAGMENT } from '@/settings/developers/graphql/fragments/webhookFragment';
|
||||
|
||||
export const DELETE_WEBHOOK = gql`
|
||||
mutation DeleteWebhook($input: DeleteWebhookInput!) {
|
||||
deleteWebhook(input: $input)
|
||||
mutation DeleteWebhook($id: UUID!) {
|
||||
deleteWebhook(id: $id) {
|
||||
...WebhookFragment
|
||||
}
|
||||
}
|
||||
${WEBHOOK_FRAGMENT}
|
||||
`;
|
||||
|
||||
@@ -2,8 +2,8 @@ import gql from 'graphql-tag';
|
||||
import { WEBHOOK_FRAGMENT } from '@/settings/developers/graphql/fragments/webhookFragment';
|
||||
|
||||
export const GET_WEBHOOK = gql`
|
||||
query GetWebhook($input: GetWebhookInput!) {
|
||||
webhook(input: $input) {
|
||||
query GetWebhook($id: UUID!) {
|
||||
webhook(id: $id) {
|
||||
...WebhookFragment
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user