Skip to content

Commit

Permalink
[Fix] test
Browse files Browse the repository at this point in the history
  • Loading branch information
yj-leez committed Dec 22, 2023
1 parent 255190c commit 032d490
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ public class PartLeaderController {

private final PartLeaderService partLeaderService;

@GetMapping("/vote")
@GetMapping("/votes")
public CandidateResponseDto getCandidateList(@RequestParam String part){
return partLeaderService.getCandidateResult(part);
}

@PostMapping("/vote")
@PostMapping("/votes")
public ResponseEntity votePartLeader(@RequestParam String part, @RequestBody PartLeaderRequestDto dto, @AuthenticationPrincipal User user){
return partLeaderService.votePartLeader(part, dto, user);
}
Expand Down

0 comments on commit 032d490

Please sign in to comment.