diff options
Diffstat (limited to 'app/graphql/types/notes/note_type.rb')
-rw-r--r-- | app/graphql/types/notes/note_type.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/graphql/types/notes/note_type.rb b/app/graphql/types/notes/note_type.rb index e7e032c67c6..ffdaab0a5f6 100644 --- a/app/graphql/types/notes/note_type.rb +++ b/app/graphql/types/notes/note_type.rb @@ -5,6 +5,8 @@ module Types class NoteType < BaseObject graphql_name 'Note' + connection_type_class Types::CountableConnectionType + authorize :read_note expose_permissions Types::PermissionTypes::Note |