diff options
Diffstat (limited to 'app/graphql/types/achievements/user_achievement_type.rb')
-rw-r--r-- | app/graphql/types/achievements/user_achievement_type.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/graphql/types/achievements/user_achievement_type.rb b/app/graphql/types/achievements/user_achievement_type.rb index bf161d2f1e5..7cdcb66576c 100644 --- a/app/graphql/types/achievements/user_achievement_type.rb +++ b/app/graphql/types/achievements/user_achievement_type.rb @@ -5,6 +5,8 @@ module Types class UserAchievementType < BaseObject graphql_name 'UserAchievement' + connection_type_class Types::CountableConnectionType + authorize :read_user_achievement field :id, |