generated from pricelees/issue-pr-template
[#34] 회원 / 인증 도메인 재정의 #43
@ -33,9 +33,7 @@ class AuthControllerV2(
|
|||||||
override fun checkLogin(
|
override fun checkLogin(
|
||||||
@CurrentUser user: CurrentUserContext,
|
@CurrentUser user: CurrentUserContext,
|
||||||
): ResponseEntity<CommonApiResponse<CurrentUserContext>> {
|
): ResponseEntity<CommonApiResponse<CurrentUserContext>> {
|
||||||
val response = authService.checkLogin(user)
|
return ResponseEntity.ok(CommonApiResponse(user))
|
||||||
|
|
||||||
return ResponseEntity.ok(CommonApiResponse(response))
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@PostMapping("/logout")
|
@PostMapping("/logout")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user