From d6f8631cb191038bc81a6537f03e18400cdcee37 Mon Sep 17 00:00:00 2001 From: Fire Demon Date: Sat, 25 Jul 2020 01:51:27 -0500 Subject: [Bug] Use correct key name for ActivityPub object titles --- app/serializers/activitypub/note_serializer.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/serializers') diff --git a/app/serializers/activitypub/note_serializer.rb b/app/serializers/activitypub/note_serializer.rb index 75a38e9b5..da77414ca 100644 --- a/app/serializers/activitypub/note_serializer.rb +++ b/app/serializers/activitypub/note_serializer.rb @@ -12,7 +12,7 @@ class ActivityPub::NoteSerializer < ActivityPub::Serializer :conversation attribute :updated - attribute :title, if: :title_present? + attribute :title, key: :name, if: :title_present? attribute :content attribute :content_map, if: :language? -- cgit