Skip to content

Commit

Permalink
refactor : spotless 적용
Browse files Browse the repository at this point in the history
  • Loading branch information
Qbeom0925 committed Oct 3, 2023
1 parent 3f64256 commit 99652a4
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,16 +34,14 @@ public class UserController {

@Operation(summary = "회원가입")
@PostMapping
public ApplicationResponse<Boolean> signUp(
@RequestBody UserSingReq request) {
public ApplicationResponse<Boolean> signUp(@RequestBody UserSingReq request) {
return ApplicationResponse.ok(userService.signUp(request));
}

@Operation(summary = "로그인")
@PostMapping("/login")
public ResponseEntity<ApplicationResponse<UserLoginRes>> login(
@RequestBody
UserSingReq request) {
@RequestBody UserSingReq request) {
UserLoginRes response = userService.login(request);
ResponseCookie cookie =
ResponseCookie.from("refresh-token", response.getRefreshToken())
Expand Down

0 comments on commit 99652a4

Please sign in to comment.