I have this endpoint:
@GetMapping("/thumbnail/{imageName}")
@PreAuthorize("hasRole('BASIC')")
public ResponseEntity<InputStreamResource> natalChartThumbnail() throws IOException {
ByteArrayOutputStream os = new ByteArrayOutputStream();
//
I have this endpoint:
@GetMapping("/thumbnail/{imageName}")
@PreAuthorize("hasRole('BASIC')")
public ResponseEntity<InputStreamResource> natalChartThumbnail() throws IOException {
ByteArrayOutputStream os = new ByteArrayOutputStream();
//