Skip to content

Commit

Permalink
Merge pull request #115 from SWEET-DEVELOPERS/feature/#113-gift
Browse files Browse the repository at this point in the history
[fix] μ½”λ“œ μˆ˜μ •
  • Loading branch information
hysong4u authored Feb 10, 2024
2 parents ce6e57e + 6014808 commit a0e8a67
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public KakaoUserInfoResponseDto kakaoCallback(String code, String environment) {
params.add("grant_type", "authorization_code");
params.add("client_id", clientId);
params.add("redirect_uri", redirectUri);
if ("development".equals(environment)) {
if ("production".equals(environment)) {
params.add("redirect_uri", redirectUri);
} else {
params.add("redirect_uri", "http://localhost:5137/api/oauth/kakao/login");
Expand Down Expand Up @@ -180,8 +180,7 @@ public String sendDiscordNotification(String nickname) {
RestTemplate restTemplate = new RestTemplate();
Long totalMembers = memberRepository.count();

String message = "\n" + totalMembers + "번째 멀버가 νšŒμ›κ°€μž…ν–ˆμŠ΅λ‹ˆλ‹€.\n" +
"μ‚¬μš©μžλͺ…: " + nickname;
String message = nickname + "λ‹˜μ΄ νšŒμ›κ°€μž…ν–ˆμŠ΅λ‹ˆλ‹€! (λˆ„μ  νšŒμ›μˆ˜: " + totalMembers + "λͺ…\n)";

HttpHeaders headers = new HttpHeaders();
headers.setContentType(MediaType.APPLICATION_JSON);
Expand Down

0 comments on commit a0e8a67

Please sign in to comment.