Skip to content

Commit

Permalink
refactor: delete 연산에 @transactional 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
hyxklee committed Jul 11, 2024
1 parent 777cc4e commit b4ccc12
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ public void updateEvent(Long id, RequestEvent updatedEvent, String userEmail) th
}

// 일정 삭제
@Transactional
public void deleteEvent(Long eventId, String userEmail) throws BusinessLogicException {

Event oldEvent = eventRepository.findById(eventId)
Expand Down

0 comments on commit b4ccc12

Please sign in to comment.