Add a shelf creation button to the left menu bar and improve the layout of the shelf creation page (#1617)
This commit is contained in:
@@ -53,7 +53,6 @@ public class FileService {
|
||||
private final BookRepository bookRepository;
|
||||
private final BookAdditionalFileRepository bookAdditionalFileRepository;
|
||||
private final BookMapper bookMapper;
|
||||
private final RestTemplate restTemplate;
|
||||
|
||||
// @formatter:off
|
||||
private static final String IMAGES_DIR = "images";
|
||||
@@ -171,7 +170,7 @@ public class FileService {
|
||||
|
||||
HttpEntity<String> entity = new HttpEntity<>(headers);
|
||||
|
||||
ResponseEntity<byte[]> response = restTemplate.exchange(
|
||||
ResponseEntity<byte[]> response = new RestTemplate().exchange(
|
||||
imageUrl,
|
||||
HttpMethod.GET,
|
||||
entity,
|
||||
|
||||
Reference in New Issue
Block a user