Removed a commented code
This commit is contained in:
parent
fb597316b0
commit
9100c4a544
|
@ -26,8 +26,6 @@ public class BookController {
|
|||
Set<String> authorEmailSet = createBookRequest.getAuthors().stream().map(Author::getEmailId).collect(Collectors.toSet());
|
||||
|
||||
Book book = bookOperations.create(createBookRequest.getIsbn(), createBookRequest.getTitle(), authorEmailSet);
|
||||
|
||||
// book.getAuthors().stream().map()
|
||||
return BookResponse.builder().isbn(book.getIsbn()).title(book.getName()).build();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue