th: rest: status serializer: include quote data

lolsob-rspec
Ariadne Conill 2022-12-25 02:25:40 +00:00
parent 8e57067c9a
commit a84740a57d
1 changed files with 1 additions and 0 deletions

View File

@ -23,6 +23,7 @@ class REST::StatusSerializer < ActiveModel::Serializer
belongs_to :reblog, serializer: REST::StatusSerializer
belongs_to :application, if: :show_application?
belongs_to :account, serializer: REST::AccountSerializer
belongs_to :quote, serializer: REST::StatusSerializer
has_many :ordered_media_attachments, key: :media_attachments, serializer: REST::MediaAttachmentSerializer
has_many :ordered_mentions, key: :mentions