Skip to content

Commit

Permalink
docs: 로그 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
Sangwook02 committed Jul 19, 2024
1 parent 3c7c4f4 commit 411e3cb
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,11 @@
import java.security.SecureRandom;
import lombok.RequiredArgsConstructor;
import lombok.SneakyThrows;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Slf4j
@Service
@RequiredArgsConstructor
public class OnboardingDiscordService {
Expand Down Expand Up @@ -72,6 +74,8 @@ public void verifyDiscordCode(DiscordLinkRequest request) {
currentMember.verifyDiscord(request.discordUsername(), request.nickname());

updateDiscordId(request.discordUsername(), currentMember);

log.info("[OnboardingDiscordService] 디스코드 연동: memberId={}", currentMember.getId());
}

private void updateDiscordId(String discordUsername, Member currentMember) {
Expand Down

0 comments on commit 411e3cb

Please sign in to comment.