discourse/app/serializers/admin_badge_serializer.rb

4 lines
121 B
Ruby

class AdminBadgeSerializer < BadgeSerializer
attributes :query, :trigger, :target_posts, :auto_revoke, :show_posts
end