diff --git a/app/serializers/rest/relationship_serializer.rb b/app/serializers/rest/relationship_serializer.rb index 257fac4f78..45bfd4d6e7 100644 --- a/app/serializers/rest/relationship_serializer.rb +++ b/app/serializers/rest/relationship_serializer.rb @@ -2,17 +2,12 @@ class REST::RelationshipSerializer < ActiveModel::Serializer attributes :id, :following, :showing_reblogs, :followed_by, :blocking, - :muting, :muting_notifications, :requested, :domain_blocking, - :note + :muting, :muting_notifications, :requested, :domain_blocking def id object.id.to_s end - def note - object.respond_to?(:note) ? object.note&.text : nil - end - def following instance_options[:relationships].following[object.id] ? true : false end