feat(api): add video and audio file size limits to upload config (#9703)

This commit is contained in:
-LAN- 2024-10-23 15:23:30 +08:00 committed by GitHub
parent ed96a6b6c0
commit 1b9bf9c62d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -6,6 +6,8 @@ upload_config_fields = {
"file_size_limit": fields.Integer,
"batch_count_limit": fields.Integer,
"image_file_size_limit": fields.Integer,
"video_file_size_limit": fields.Integer,
"audio_file_size_limit": fields.Integer,
}
file_fields = {