Skip to content

Commit

Permalink
ensure media filenames are lowercase
Browse files Browse the repository at this point in the history
  • Loading branch information
erquhart committed Sep 7, 2017
1 parent 8a5f100 commit 91effe5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/actions/mediaLibrary.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export function persistMedia(file, privateUpload) {

dispatch(mediaPersisting());

return createAssetProxy(file.name, file, false, privateUpload)
return createAssetProxy(file.name.toLowerCase(), file, false, privateUpload)
.then(assetProxy => {
dispatch(addAsset(assetProxy));
if (!integration) {
Expand Down

0 comments on commit 91effe5

Please sign in to comment.