Skip to content

Commit

Permalink
KL-155/style: improved readability oauthKakao
Browse files Browse the repository at this point in the history
  • Loading branch information
idealflower-k committed Aug 22, 2024
1 parent a299759 commit 68b325c
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,12 @@ public class Oauth2KakaoController {
@Operation(summary = "kakao 간편로그인 요청", description = "카카오 oauth2를 사용하여 로그인 처리합니다.")
public ResponseEntity<Void> oauthKakao() {
final String location = getKakaoOauthLocation();
final URI locationUri = URI.create(location);

return ResponseEntity.status(HttpStatus.FOUND).location(URI.create(location)).build();
return ResponseEntity
.status(HttpStatus.FOUND)
.location(locationUri)
.build();
}

/**
Expand Down

0 comments on commit 68b325c

Please sign in to comment.