diff options
Diffstat (limited to 'app/assets/javascripts/work_items/graphql/notes/create_work_item_note.mutation.graphql')
-rw-r--r-- | app/assets/javascripts/work_items/graphql/notes/create_work_item_note.mutation.graphql | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/app/assets/javascripts/work_items/graphql/notes/create_work_item_note.mutation.graphql b/app/assets/javascripts/work_items/graphql/notes/create_work_item_note.mutation.graphql new file mode 100644 index 00000000000..5050aa7cbda --- /dev/null +++ b/app/assets/javascripts/work_items/graphql/notes/create_work_item_note.mutation.graphql @@ -0,0 +1,18 @@ +#import "./work_item_note.fragment.graphql" + +mutation createWorkItemNote($input: CreateNoteInput!) { + createNote(input: $input) { + note { + id + discussion { + id + notes { + nodes { + ...WorkItemNote + } + } + } + } + errors + } +} |