diff --git a/src/main/java/org/folio/sample/controller/BookController.java b/src/main/java/org/folio/sample/controller/BookController.java index 397be8b..99e4428 100644 --- a/src/main/java/org/folio/sample/controller/BookController.java +++ b/src/main/java/org/folio/sample/controller/BookController.java @@ -77,15 +77,6 @@ public ResponseEntity getBook(UUID bookId) { ); } - public ResponseEntity> getAllAvailable() { - log.info("Called GET /books/available"); - - return new ResponseEntity<>( - bookService.findAllAvailable().stream().map(bookMapper::toDto).toList(), - HttpStatus.OK - ); - } - public ResponseEntity updateBook(UUID bookId, BookForCreationDTO newBook) { log.info("Called PUT /books/{}", bookId);