aboutsummaryrefslogtreecommitdiffstats
path: root/src/services/graphql/comments.mutation.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/services/graphql/comments.mutation.ts')
-rw-r--r--src/services/graphql/comments.mutation.ts30
1 files changed, 0 insertions, 30 deletions
diff --git a/src/services/graphql/comments.mutation.ts b/src/services/graphql/comments.mutation.ts
deleted file mode 100644
index f52c7e9..0000000
--- a/src/services/graphql/comments.mutation.ts
+++ /dev/null
@@ -1,30 +0,0 @@
-/**
- * Send comment mutation.
- */
-export const sendCommentMutation = `mutation CreateComment(
- $author: String!
- $authorEmail: String!
- $authorUrl: String!
- $content: String!
- $parent: ID = null
- $commentOn: Int!
- $clientMutationId: String!
-) {
- createComment(
- input: {
- author: $author
- authorEmail: $authorEmail
- authorUrl: $authorUrl
- content: $content
- parent: $parent
- commentOn: $commentOn
- clientMutationId: $clientMutationId
- }
- ) {
- clientMutationId
- success
- comment {
- approved
- }
- }
-}`;