Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove unneeded directory creation (#3397)
This commit removes the directory creation for the 'getMediaLibrary' function. According to Flysystem, the actual driver creates the required directory when attempting to write a file. > When writing files, the directory you’re writing to will be created automatically if and when that is required in the filesystem you’re writing to. If your filesystem does not require directories to exist (like AWS S3), the directory is not created. This is a performance consideration. Of course, you can always create the directory yourself by using the createDirectory operation.
- Loading branch information