lowercase file extension
This commit is contained in:
parent
8ce3d4124b
commit
b0aedd38ed
|
@ -71,7 +71,7 @@ function prepareUploadForS3({ filePath, s3Key, metadata, s3 }) {
|
|||
.upload({
|
||||
Key: s3Key,
|
||||
Body: fileBytes,
|
||||
ContentType: CONTENT_TYPE_MAP[fileExtension],
|
||||
ContentType: CONTENT_TYPE_MAP[fileExtension.toLowerCase()],
|
||||
Metadata: metadata,
|
||||
})
|
||||
.promise()
|
||||
|
|
Loading…
Reference in New Issue