Skip to content

Commit

Permalink
fix: 참여자 삭제 서비스 메서드에 Transactional 추가 (#265)
Browse files Browse the repository at this point in the history
Co-authored-by: 3juhwan <[email protected]>
  • Loading branch information
kunsanglee and 3Juhwan authored Aug 8, 2024
1 parent 940b2db commit f84c194
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ private Event findEvent(String token) {
.orElseThrow(() -> new HaengdongException(HaengdongErrorCode.EVENT_NOT_FOUND));
}

@Transactional
public void deleteMember(String token, String memberName) {
Event event = eventRepository.findByToken(token)
.orElseThrow(() -> new HaengdongException(HaengdongErrorCode.EVENT_NOT_FOUND));
Expand Down
7 changes: 7 additions & 0 deletions server/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,13 @@ logging:
org.springframework.web: debug
server.haengdong: debug

server:
servlet:
encoding:
charset: UTF-8
enabled: true
force: true

---

spring:
Expand Down

0 comments on commit f84c194

Please sign in to comment.