From 477215dfe6830fff65d16557b57cee1eb25ab938 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Randy=20=C4=8Cupi=C4=87?= Date: Mon, 23 Sep 2024 22:45:51 +0200 Subject: [PATCH] Add audio as no extension type --- lib/Core/Provider/Cloudinary/Resolver/UploadOptions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Core/Provider/Cloudinary/Resolver/UploadOptions.php b/lib/Core/Provider/Cloudinary/Resolver/UploadOptions.php index 50cd57d1..11edd6e2 100644 --- a/lib/Core/Provider/Cloudinary/Resolver/UploadOptions.php +++ b/lib/Core/Provider/Cloudinary/Resolver/UploadOptions.php @@ -27,7 +27,7 @@ final class UploadOptions public function __construct( private VisibilityTypeConverter $visibilityTypeConverter, private string $folderMode, - private array $noExtensionMimeTypes = ['image', 'video'], + private array $noExtensionMimeTypes = ['image', 'video', 'audio'], private ?MimeTypesInterface $mimeTypes = null ) { $this->mimeTypes = $this->mimeTypes ?? MimeTypes::getDefault();