Skip to content

Commit

Permalink
Refactor: 로그인 방식 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
yso8296 committed Nov 15, 2024
1 parent fbc832b commit 670188e
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
Expand All @@ -33,7 +34,7 @@ public ResponseEntity<Void> login() {
.build();
}*/

@GetMapping("/callback")
@PostMapping("/callback")
public ResponseEntity<MemberResponse.Login> registerMember(@RequestBody MemberRequest.Info request) {
MemberModel.Login memberInfo = memberService.register(request.toCommand());

Expand Down

0 comments on commit 670188e

Please sign in to comment.