Skip to content

Commit

Permalink
feat: @transactional 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
yeonjy committed Mar 19, 2024
1 parent f9ce058 commit d5997ee
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down

0 comments on commit d5997ee

Please sign in to comment.