Fix markdown property on edit status

This commit is contained in:
KMY 2023-04-12 16:37:40 +09:00
parent 25c3915728
commit 8db2f96c36
5 changed files with 10 additions and 2 deletions

View file

@ -5,7 +5,7 @@ class REST::StatusEditSerializer < ActiveModel::Serializer
has_one :account, serializer: REST::AccountSerializer
attributes :content, :spoiler_text, :sensitive, :created_at
attributes :content, :spoiler_text, :markdown, :sensitive, :created_at
has_many :ordered_media_attachments, key: :media_attachments, serializer: REST::MediaAttachmentSerializer
has_many :emojis, serializer: REST::CustomEmojiSerializer