Skip to content

Commit

Permalink
Add audio as no extension type
Browse files Browse the repository at this point in the history
  • Loading branch information
Randy Čupić committed Sep 23, 2024
1 parent 993dc17 commit 477215d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Core/Provider/Cloudinary/Resolver/UploadOptions.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 477215d

Please sign in to comment.