mirror of
https://github.com/glitch-soc/mastodon.git
synced 2024-11-30 03:50:13 -05:00
Update instance_serializer.rb
This commit is contained in:
parent
7dde56a70d
commit
9a4d5f732c
@ -83,7 +83,6 @@ class REST::V1::InstanceSerializer < ActiveModel::Serializer
|
|||||||
},
|
},
|
||||||
|
|
||||||
media_attachments: {
|
media_attachments: {
|
||||||
supported_mime_types: MediaAttachment::IMAGE_MIME_TYPES + MediaAttachment::VIDEO_MIME_TYPES + MediaAttachment::AUDIO_MIME_TYPES,
|
|
||||||
max_characters: MediaAttachment::MAX_DESCRIPTION_LENGTH,
|
max_characters: MediaAttachment::MAX_DESCRIPTION_LENGTH,
|
||||||
supported_mime_types: MediaAttachment.supported_mime_types,
|
supported_mime_types: MediaAttachment.supported_mime_types,
|
||||||
image_size_limit: MediaAttachment::IMAGE_LIMIT,
|
image_size_limit: MediaAttachment::IMAGE_LIMIT,
|
||||||
|
Loading…
Reference in New Issue
Block a user