From 9a4d5f732c45ec17a369e39b27045d86306c1724 Mon Sep 17 00:00:00 2001 From: nullishamy Date: Tue, 24 Sep 2024 20:16:12 +0100 Subject: [PATCH] Update instance_serializer.rb --- app/serializers/rest/v1/instance_serializer.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/app/serializers/rest/v1/instance_serializer.rb b/app/serializers/rest/v1/instance_serializer.rb index e0ba1812e4..91437cfba9 100644 --- a/app/serializers/rest/v1/instance_serializer.rb +++ b/app/serializers/rest/v1/instance_serializer.rb @@ -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,