diff --git a/src/main/java/org/openelisglobal/image/controller/DBImageController.java b/src/main/java/org/openelisglobal/image/controller/DBImageController.java index 2f75fd7304..9891890d5a 100644 --- a/src/main/java/org/openelisglobal/image/controller/DBImageController.java +++ b/src/main/java/org/openelisglobal/image/controller/DBImageController.java @@ -8,7 +8,6 @@ import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.PathVariable; -import org.springframework.web.bind.annotation.ResponseBody; import org.springframework.web.bind.annotation.RestController; @RestController @@ -18,7 +17,6 @@ public class DBImageController { private ImageService imageService; @GetMapping(value = "/dbImage/siteInformation/{imageName}") - @ResponseBody public IdValuePair getImage(@PathVariable String imageName) { Optional image = imageService.getImageBySiteInfoName(imageName); if (image.isEmpty()) {