summaryrefslogtreecommitdiff
path: root/app/graphql/types/packages/package_tag_type.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/graphql/types/packages/package_tag_type.rb')
-rw-r--r--app/graphql/types/packages/package_tag_type.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/graphql/types/packages/package_tag_type.rb b/app/graphql/types/packages/package_tag_type.rb
index a05ce03da67..450f3fc8e9c 100644
--- a/app/graphql/types/packages/package_tag_type.rb
+++ b/app/graphql/types/packages/package_tag_type.rb
@@ -7,8 +7,8 @@ module Types
description 'Represents a package tag'
authorize :read_package
- field :id, GraphQL::ID_TYPE, null: false, description: 'The ID of the tag.'
- field :name, GraphQL::STRING_TYPE, null: false, description: 'The name of the tag.'
+ field :id, GraphQL::Types::ID, null: false, description: 'The ID of the tag.'
+ field :name, GraphQL::Types::String, null: false, description: 'The name of the tag.'
field :created_at, Types::TimeType, null: false, description: 'The created date.'
field :updated_at, Types::TimeType, null: false, description: 'The updated date.'
end