Skip to content

Commit

Permalink
Fix: createReviewNoteFolder 저장 순서 해결
Browse files Browse the repository at this point in the history
  • Loading branch information
sejoon00 committed May 26, 2024
1 parent 861e567 commit f9709fc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ public Long createReviewNoteFolder(Member member, ReviewNoteProblemIdRequest req
ReviewNoteProblem problem = reviewNoteProblemRepository.findById(id)
.orElseThrow(() -> new NotFoundException(ErrorCode.PROBLEM_NOT_FOUND));
ReviewNoteProblemFolder mapper = ReviewNoteProblemFolder.builder()
.reviewNoteFolder(folder)
.reviewNoteFolder(saved)
.reviewNoteProblem(problem)
.build();
reviewNoteProblemFolderRepository.save(mapper);
Expand Down

0 comments on commit f9709fc

Please sign in to comment.