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.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/graphql/types/projects/services/jira_project_type.rb b/app/graphql/types/projects/services/jira_project_type.rb
index 90abce2b4c3..957ac91db6b 100644
--- a/app/graphql/types/projects/services/jira_project_type.rb
+++ b/app/graphql/types/projects/services/jira_project_type.rb
@@ -7,12 +7,12 @@ module Types
class JiraProjectType < BaseObject
graphql_name 'JiraProject'
- field :key, GraphQL::STRING_TYPE, null: false,
+ field :key, GraphQL::Types::String, null: false,
description: 'Key of the Jira project.'
- field :project_id, GraphQL::INT_TYPE, null: false,
+ field :project_id, GraphQL::Types::Int, null: false,
description: 'ID of the Jira project.',
method: :id
- field :name, GraphQL::STRING_TYPE, null: true,
+ field :name, GraphQL::Types::String, null: true,
description: 'Name of the Jira project.'
end
# rubocop:enable Graphql/AuthorizeTypes