summaryrefslogtreecommitdiff
path: root/app/graphql/types/projects/services/jira_project_type.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/graphql/types/projects/services/jira_project_type.rb')
-rw-r--r--app/graphql/types/projects/services/jira_project_type.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/graphql/types/projects/services/jira_project_type.rb b/app/graphql/types/projects/services/jira_project_type.rb
index 957ac91db6b..0ff1b9d8903 100644
--- a/app/graphql/types/projects/services/jira_project_type.rb
+++ b/app/graphql/types/projects/services/jira_project_type.rb
@@ -9,11 +9,11 @@ module Types
field :key, GraphQL::Types::String, null: false,
description: 'Key of the Jira project.'
+ field :name, GraphQL::Types::String, null: true,
+ description: 'Name of the Jira project.'
field :project_id, GraphQL::Types::Int, null: false,
description: 'ID of the Jira project.',
method: :id
- field :name, GraphQL::Types::String, null: true,
- description: 'Name of the Jira project.'
end
# rubocop:enable Graphql/AuthorizeTypes
end