summaryrefslogtreecommitdiff
path: root/app/graphql/types/countable_connection_type.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/graphql/types/countable_connection_type.rb')
-rw-r--r--app/graphql/types/countable_connection_type.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/graphql/types/countable_connection_type.rb b/app/graphql/types/countable_connection_type.rb
index 2538366b786..f67194d99b3 100644
--- a/app/graphql/types/countable_connection_type.rb
+++ b/app/graphql/types/countable_connection_type.rb
@@ -3,7 +3,7 @@
module Types
# rubocop: disable Graphql/AuthorizeTypes
class CountableConnectionType < GraphQL::Types::Relay::BaseConnection
- field :count, Integer, null: false,
+ field :count, GraphQL::INT_TYPE, null: false,
description: 'Total count of collection'
def count