diff --git a/src/main/java/org/sunbird/storage/controller/StorageController.java b/src/main/java/org/sunbird/storage/controller/StorageController.java index efe4e8000..84fa81084 100644 --- a/src/main/java/org/sunbird/storage/controller/StorageController.java +++ b/src/main/java/org/sunbird/storage/controller/StorageController.java @@ -49,7 +49,7 @@ public ResponseEntity getFileInfo(@PathVariable("orgId") String orgId) { return storageService.getFileInfo(orgId); } - @PostMapping("{cloudFolderName}/profilePhotoUpload") + @PostMapping("/profilePhotoUpload/{cloudFolderName}") public ResponseEntity profileUpload(@PathVariable("cloudFolderName") String cloudFolderName,@RequestParam(value = "file", required = true) MultipartFile multipartFile) throws IOException { SBApiResponse uploadResponse = storageService.uploadFile(multipartFile, cloudFolderName, serverConfig.getCloudProfileImageContainerName());