Update instance_serializer.rb

This commit is contained in:
nullishamy 2024-09-24 20:16:12 +01:00 committed by GitHub
parent 7dde56a70d
commit 9a4d5f732c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -83,7 +83,6 @@ class REST::V1::InstanceSerializer < ActiveModel::Serializer
},
media_attachments: {
supported_mime_types: MediaAttachment::IMAGE_MIME_TYPES + MediaAttachment::VIDEO_MIME_TYPES + MediaAttachment::AUDIO_MIME_TYPES,
max_characters: MediaAttachment::MAX_DESCRIPTION_LENGTH,
supported_mime_types: MediaAttachment.supported_mime_types,
image_size_limit: MediaAttachment::IMAGE_LIMIT,