We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e685d0a commit c70179fCopy full SHA for c70179f
backend/src/main/java/com/ai/lawyer/domain/poll/controller/PollController.java
@@ -149,8 +149,8 @@ public ResponseEntity<ApiResponse<List<PollDto>>> getTopOngoingPolls(@RequestPar
149
return ResponseEntity.ok(new ApiResponse<>(200, message, polls));
150
}
151
152
- @Operation(summary = "index(순번)로 투표하기 - Swagger 편의용")
153
- @PostMapping("/{pollId}/vote-by-index")
+ @Operation(summary = "index(순번)로 투표하기")
+ @PostMapping("/{pollId}/voting")
154
public ResponseEntity<ApiResponse<PollVoteDto>> voteByIndex(@PathVariable Long pollId, @RequestParam int index) {
155
Authentication authentication = SecurityContextHolder.getContext().getAuthentication();
156
Long memberId = Long.parseLong(authentication.getName());
0 commit comments