Skip to content

Commit 4cc5ca6

Browse files
authored
Merge pull request #65 from ikdaman/dev
release: 0.0.18
2 parents a70f2bf + e5d3471 commit 4cc5ca6

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/main/java/com/ikdaman/domain/mybook/service/MyBookServiceImpl.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -80,11 +80,6 @@ public MyBookRes addMyBook(UUID memberId, MyBookReq dto) {
8080
.build());
8181
}
8282

83-
// 한 사용자가 책장에 같은 책을 중복으로 저장할 수 없음
84-
if(myBookRepository.existsMyBookByMemberIdAndBook(memberId, book)) {
85-
throw new BaseException(MY_BOOK_ALREADY_EXISTS);
86-
}
87-
8883
MyBook myBook = MyBook.builder()
8984
.memberId(memberId)
9085
.book(book)

0 commit comments

Comments
 (0)