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:
Aditya Chandel
2025-11-24 08:42:07 -07:00
committed by GitHub
parent 1dbf214199
commit 4d9362a1b4
10 changed files with 1036 additions and 91 deletions
@@ -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,