summaryrefslogtreecommitdiff
path: root/app/graphql/mutations/labels/create.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/graphql/mutations/labels/create.rb')
-rw-r--r--app/graphql/mutations/labels/create.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/graphql/mutations/labels/create.rb b/app/graphql/mutations/labels/create.rb
index cb3ba7939ae..3cd41dc01de 100644
--- a/app/graphql/mutations/labels/create.rb
+++ b/app/graphql/mutations/labels/create.rb
@@ -3,10 +3,10 @@
module Mutations
module Labels
class Create < BaseMutation
- include Mutations::ResolvesResourceParent
-
graphql_name 'LabelCreate'
+ include Mutations::ResolvesResourceParent
+
field :label,
Types::LabelType,
null: true,