Remove custom_emoji aliases property from part of rest api
This commit is contained in:
parent
7e40c6ca4d
commit
01fcf84604
6 changed files with 57 additions and 51 deletions
|
@ -8,7 +8,7 @@ class REST::StatusEditSerializer < ActiveModel::Serializer
|
|||
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
|
||||
has_many :emojis, serializer: REST::CustomEmojiSlimSerializer
|
||||
|
||||
attribute :poll, if: -> { object.poll_options.present? }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue