diff --git a/omod/src/main/java/org/openmrs/module/attachments/rest/AttachmentResource.java b/omod/src/main/java/org/openmrs/module/attachments/rest/AttachmentResource.java index da3f9f1..85528f1 100644 --- a/omod/src/main/java/org/openmrs/module/attachments/rest/AttachmentResource.java +++ b/omod/src/main/java/org/openmrs/module/attachments/rest/AttachmentResource.java @@ -114,7 +114,7 @@ public Object upload(MultipartFile file, RequestContext context) throws Response } // Verify File Size if (ctx.getMaxUploadFileSize() * 1024 * 1024 < (double) file.getSize()) { - throw new IllegalRequestException("The file exceeds the maximum size"); + throw new IllegalRequestException("The file exceeds the maximum size"); } // Verify file extension