Skip to content

Commit

Permalink
[MERGE] fix/#37 -> dev
Browse files Browse the repository at this point in the history
[FIX] RequestBody 어노테이션 누락 수정
  • Loading branch information
sung-silver authored Jan 16, 2025
2 parents f24dd60 + ef90d08 commit b8cf6d7
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public ResponseEntity<BaseResponse<?>> verifyPhoneVerification(
@Override
@PostMapping("/login/web")
public ResponseEntity<BaseResponse<?>> authenticateSocialAuthInfoFromWeb(
AuthRequest.AuthenticateSocialAuthInfo socialAuthInfo) {
@RequestBody AuthRequest.AuthenticateSocialAuthInfo socialAuthInfo) {
AuthenticateTokenInfo tokenInfo =
authenticateSocialAccountUsecase.authenticate(socialAuthInfo.toCommand());
HttpHeaders headers = cookieUtil.setRefreshToken(tokenInfo.refreshToken());
Expand All @@ -68,7 +68,7 @@ public ResponseEntity<BaseResponse<?>> authenticateSocialAuthInfoFromWeb(
@Override
@PostMapping("/login/app")
public ResponseEntity<BaseResponse<?>> authenticateSocialAuthInfoFromApp(
AuthRequest.AuthenticateSocialAuthInfo socialAuthInfo) {
@RequestBody AuthRequest.AuthenticateSocialAuthInfo socialAuthInfo) {
AuthenticateTokenInfo tokenInfo =
authenticateSocialAccountUsecase.authenticate(socialAuthInfo.toCommand());

Expand All @@ -79,7 +79,7 @@ public ResponseEntity<BaseResponse<?>> authenticateSocialAuthInfoFromApp(
}

@PostMapping("/signup")
public ResponseEntity<BaseResponse<?>> signUp(AuthRequest.SignUpInfo signUpInfo) {
public ResponseEntity<BaseResponse<?>> signUp(@RequestBody AuthRequest.SignUpInfo signUpInfo) {
signUpUsecase.signUp(signUpInfo.toCommand());
return ResponseUtil.success(AuthSuccess.CREATE_SIGN_UP_USER);
}
Expand Down

0 comments on commit b8cf6d7

Please sign in to comment.