Add MutateContentBlock mutation

This commit is contained in:
Pawel Kowalski 2018-09-05 15:29:23 +02:00
parent 98a029a998
commit 54d6a884a7
2 changed files with 22 additions and 7 deletions

View File

@ -1,7 +0,0 @@
mutation DefineActionPlan($input: DefineActionPlanInput!) {
defineActionPlan(input: $input) {
userModuleProgress {
id
}
}
}

View File

@ -0,0 +1,22 @@
mutation MutateContentBlock($input: MutateContentBlockInput!) {
mutateContentBlock(input: $input) {
contentBlock {
id
title
slug
}
errors
}
}
// input
{
"input": {
"id": "Q29udGVudEJsb2NrTm9kZToyMQ==",
"type": "plain",
"title": "Hallo Daniel"
}
}