Skip to content

Commit

Permalink
fix: timetable 소프트딜리트 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
김원경 committed Dec 4, 2024
1 parent d7a0f79 commit 84d226a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ public void deleteTimetableLecture(Integer userId, Integer timetableLectureId) {
if (!Objects.equals(frame.getUser().getId(), userId)) {
throw AuthorizationException.withDetail("userId: " + userId);
}
timetableLectureRepositoryV2.deleteById(timetableLectureId);
timetableLecture.delete();
entityManager.flush();
} catch (OptimisticLockException e) {
throw new RequestTooFastException("요청이 너무 빠릅니다. 다시 시도해주세요.");
Expand Down

0 comments on commit 84d226a

Please sign in to comment.