diff options
Diffstat (limited to 'app/assets/javascripts/snippets/mutations/deleteSnippet.mutation.graphql')
-rw-r--r-- | app/assets/javascripts/snippets/mutations/deleteSnippet.mutation.graphql | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/assets/javascripts/snippets/mutations/deleteSnippet.mutation.graphql b/app/assets/javascripts/snippets/mutations/deleteSnippet.mutation.graphql new file mode 100644 index 00000000000..0c829cbdee6 --- /dev/null +++ b/app/assets/javascripts/snippets/mutations/deleteSnippet.mutation.graphql @@ -0,0 +1,5 @@ +mutation DeleteSnippet($id: ID!) { + destroySnippet(input: {id: $id}) { + errors + } +}
\ No newline at end of file |