diff --git a/app/serializers/activitypub/note_serializer.rb b/app/serializers/activitypub/note_serializer.rb index 7b29e6d69b..31adcc6382 100644 --- a/app/serializers/activitypub/note_serializer.rb +++ b/app/serializers/activitypub/note_serializer.rb @@ -199,7 +199,7 @@ class ActivityPub::NoteSerializer < ActivityPub::Serializer include RoutingHelper - attributes :type, :media_type, :url, :name, :blurhash + attributes :type, :media_type, :url, :summary, :blurhash attribute :focal_point, if: :focal_point? attribute :width, if: :width? attribute :height, if: :height? @@ -210,7 +210,7 @@ class ActivityPub::NoteSerializer < ActivityPub::Serializer 'Document' end - def name + def summary object.description end