diff --git a/backend/core/src/main/java/com/rollthedice/backend/domain/member/service/MemberService.java b/backend/core/src/main/java/com/rollthedice/backend/domain/member/service/MemberService.java index f41faeb4..23233ae1 100644 --- a/backend/core/src/main/java/com/rollthedice/backend/domain/member/service/MemberService.java +++ b/backend/core/src/main/java/com/rollthedice/backend/domain/member/service/MemberService.java @@ -5,12 +5,14 @@ import com.rollthedice.backend.domain.member.query.AuthService; import lombok.RequiredArgsConstructor; import org.springframework.stereotype.Service; +import org.springframework.transaction.annotation.Transactional; @RequiredArgsConstructor @Service public class MemberService { private final AuthService authService; + @Transactional public void signUp(SignUpDto dto) { Member member = authService.getMember(); member.updateNickname(dto.getNickname());