ActivityPub `Actor`: use correct property name for `suggestedMinAge`.
parent
3b06175e8f
commit
6834ddffc9
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue