Skip to content

Commit

Permalink
๐Ÿ“ฆ๏ธ [CHORE] ์ค‘๋ณต๋œ ์ฝ”๋“œ ์ œ๊ฑฐ
Browse files Browse the repository at this point in the history
  • Loading branch information
dong2ast committed Mar 13, 2024
1 parent 32959ed commit 0b545cb
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,4 @@ public ResponseEntity<ApiResponse<List<PopularBookResponseDto>>> getHome() {
public ResponseEntity<ApiResponse<?>> test() {
throw new RuntimeException("ํ…Œ์ŠคํŠธ์šฉ ์—๋Ÿฌ ๋ฐœ์ƒ");
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,6 @@ public void createFavorite(Long memberId, FavoriteCreateRequestDto request) {

Favorite favorite = Favorite.of(member, book);
favoriteRepository.save(favorite);

book.addFavorite(favorite);
member.addFavorite(favorite);
} // memberId์™€ bookId๋ฅผ favorite ์— ์ €์žฅํ•˜๋Š” ๋กœ์ง

public List<FavoriteBookResponseDto> getFavorite(Long memberId) {
Expand Down

0 comments on commit 0b545cb

Please sign in to comment.