summaryrefslogtreecommitdiff
path: root/app/graphql/types/label_type.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/graphql/types/label_type.rb')
-rw-r--r--app/graphql/types/label_type.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/graphql/types/label_type.rb b/app/graphql/types/label_type.rb
index 738a00ad616..28dee2a9db5 100644
--- a/app/graphql/types/label_type.rb
+++ b/app/graphql/types/label_type.rb
@@ -4,6 +4,8 @@ module Types
class LabelType < BaseObject
graphql_name 'Label'
+ connection_type_class(Types::CountableConnectionType)
+
authorize :read_label
field :id, GraphQL::ID_TYPE, null: false,