summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/work_items/graphql/notes/work_item_note_created.subscription.graphql
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/javascripts/work_items/graphql/notes/work_item_note_created.subscription.graphql')
-rw-r--r--app/assets/javascripts/work_items/graphql/notes/work_item_note_created.subscription.graphql7
1 files changed, 7 insertions, 0 deletions
diff --git a/app/assets/javascripts/work_items/graphql/notes/work_item_note_created.subscription.graphql b/app/assets/javascripts/work_items/graphql/notes/work_item_note_created.subscription.graphql
new file mode 100644
index 00000000000..739f2101b5e
--- /dev/null
+++ b/app/assets/javascripts/work_items/graphql/notes/work_item_note_created.subscription.graphql
@@ -0,0 +1,7 @@
+#import "./work_item_discussion_note.fragment.graphql"
+
+subscription workItemNoteCreated($noteableId: NoteableID) {
+ workItemNoteCreated(noteableId: $noteableId) {
+ ...WorkItemDiscussionNote
+ }
+}