Skip to content

Commit

Permalink
fix: fix url of login info api
Browse files Browse the repository at this point in the history
  • Loading branch information
chominho96 committed Apr 6, 2024
1 parent 5214599 commit 16fac16
Showing 1 changed file with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,7 @@
import jakarta.validation.Valid;
import lombok.RequiredArgsConstructor;
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.RestController;
import org.springframework.web.bind.annotation.*;
import unithon.team5.login.dto.JwtTokenResponse;
import unithon.team5.login.dto.LoginRequest;
import unithon.team5.login.dto.LoginResponse;
Expand All @@ -15,11 +12,12 @@

@RestController
@RequiredArgsConstructor
@RequestMapping("/login")
public class LoginController implements LoginControllerDocs {

private final LoginService loginService;

@PostMapping("/login/apple")
@PostMapping("/apple")
public ResponseEntity<JwtTokenResponse> registerToken(
@Valid @RequestBody final LoginRequest loginRequest
) {
Expand Down

0 comments on commit 16fac16

Please sign in to comment.