diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/serializers/activitypub/actor_serializer.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/serializers/activitypub/actor_serializer.rb b/app/serializers/activitypub/actor_serializer.rb index 44dbc5ccb..2af3c0701 100644 --- a/app/serializers/activitypub/actor_serializer.rb +++ b/app/serializers/activitypub/actor_serializer.rb @@ -21,7 +21,7 @@ class ActivityPub::ActorSerializer < ActivityPub::Serializer attribute :moved_to, if: :moved? attribute :also_known_as, if: :also_known_as? - attribute :adults_only, if: :adults_only? + attribute :adults_only, key: :suggestedMinAge, if: :adults_only? class EndpointsSerializer < ActivityPub::Serializer include RoutingHelper |