Fix `quotes_count` attribute on `Status` not being serialized (#35895)

pull/35901/head
Claire 3 months ago committed by GitHub
parent 7a76f71d99
commit 7aba79ade9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -8,7 +8,7 @@ class REST::StatusSerializer < ActiveModel::Serializer
attributes :id, :created_at, :in_reply_to_id, :in_reply_to_account_id,
:sensitive, :spoiler_text, :visibility, :language,
:uri, :url, :replies_count, :reblogs_count,
:favourites_count, :edited_at
:favourites_count, :quotes_count, :edited_at
attribute :favourited, if: :current_user?
attribute :reblogged, if: :current_user?

Loading…
Cancel
Save