Add MutateContentBlock mutation
This commit is contained in:
parent
98a029a998
commit
54d6a884a7
|
|
@ -1,7 +0,0 @@
|
|||
mutation DefineActionPlan($input: DefineActionPlanInput!) {
|
||||
defineActionPlan(input: $input) {
|
||||
userModuleProgress {
|
||||
id
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue