th: rest: status serializer: include quote data
parent
8e57067c9a
commit
a84740a57d
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue