mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-03-18 01:10:46 -04:00
Serialize content-type on Delete & Redraft
This commit is contained in:
parent
d7520f8175
commit
b3e68de4d2
@ -15,6 +15,7 @@ class REST::StatusSerializer < ActiveModel::Serializer
|
||||
|
||||
attribute :content, unless: :source_requested?
|
||||
attribute :text, if: :source_requested?
|
||||
attribute :content_type, if: :source_requested?
|
||||
|
||||
belongs_to :reblog, serializer: REST::StatusSerializer
|
||||
belongs_to :application, if: :show_application?
|
||||
|
Loading…
x
Reference in New Issue
Block a user