Skip to content

Commit

Permalink
deploy: 테스트 로그인 정상 작동
Browse files Browse the repository at this point in the history
  • Loading branch information
chaeeerish committed Sep 27, 2024
1 parent 2641f5b commit 2be9fe3
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@ public ResponseEntity<JwtDto> login(@RequestBody @Valid String serialId) {

@PostMapping("/login/test")
public ResponseEntity<JwtDto> login() {
throw BaseException.type(GlobalErrorCode.INTERNAL_SERVER_ERROR);
// User user = userFindService.findUserByEmail(testEmail);
// JwtDto jwtDto = appleService.createJwtDto(user.getId(), user.getRole());
// return ResponseEntity.ok(jwtDto);
// throw BaseException.type(GlobalErrorCode.INTERNAL_SERVER_ERROR);
User user = userFindService.findUserByEmail(testEmail);
JwtDto jwtDto = appleService.createJwtDto(user.getId(), user.getRole());
return ResponseEntity.ok(jwtDto);
}

@GetMapping("/location-grid")
Expand Down

0 comments on commit 2be9fe3

Please sign in to comment.