diff --git a/src/main/java/mate/academy/bookstore/dto/BookRequestDto.java b/src/main/java/mate/academy/bookstore/dto/BookRequestDto.java index 3d09ebf..871f2b7 100644 --- a/src/main/java/mate/academy/bookstore/dto/BookRequestDto.java +++ b/src/main/java/mate/academy/bookstore/dto/BookRequestDto.java @@ -13,7 +13,7 @@ public class BookRequestDto { private String title; @NotBlank private String author; - @ISBN(type = ISBN.Type.ISBN_10) + @ISBN(type = ISBN.Type.ANY) private String isbn; @NotNull @Min(0)