Update media_attachment.rb

This commit is contained in:
Tianwei Dong 2024-05-28 22:56:58 +01:00 committed by GitHub
parent 45b17e69f1
commit b50f365720
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -38,7 +38,6 @@ class MediaAttachment < ApplicationRecord
enum :processing, { queued: 0, in_progress: 1, complete: 2, failed: 3 }, prefix: true
MAX_DESCRIPTION_LENGTH = 1_500
MAX_MEDIA_ATTACHMENTS = 4
IMAGE_LIMIT = 16.megabytes
VIDEO_LIMIT = 99.megabytes