Skip to content

Commit

Permalink
Merge pull request #451 from mcneilco/release/2023.3.x
Browse files Browse the repository at this point in the history
⬆️ Upmerge release/2023.3.x to release/2023.4.x
  • Loading branch information
brianbolt authored Oct 23, 2023
2 parents 4bfe150 + cf4f680 commit 4357766
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/labsynch/labseer/utils/MimeTypeUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public static String getContentTypeFromExtension(String originalFilename) {
mimeTypeStream = ApiFileSaveController.class.getClassLoader().getResourceAsStream(MIME_PROP_FILE);
Properties mimeTypeProps = new Properties();
mimeTypeProps.load(mimeTypeStream);
contentType = mimeTypeProps.getProperty(fileExtension);
contentType = mimeTypeProps.getProperty(fileExtension.toLowerCase());
logger.debug("here is the file contentType: " + contentType);

} catch (IOException e) {
Expand Down

0 comments on commit 4357766

Please sign in to comment.