Skip to content
This repository has been archived by the owner on Mar 26, 2024. It is now read-only.

Commit

Permalink
Merge pull request #187 from Strong-Potato/feature/#186-trans-vote-ap…
Browse files Browse the repository at this point in the history
…i-content-type-to-applicationjson

[Feat] addCandidate Content-Type을 Application/json 으로 변경
  • Loading branch information
Dr-KoKo authored Jan 24, 2024
2 parents f8f4e6f + e8d1f8c commit 448e22c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public ApiResponse<String> createNewVote(
@PostMapping("/{voteId}/candidates")
public ApiResponse<VoteDetailResponse> addCandidate(
@PathVariable Long voteId,
CandidateAddApiRequest request,
@Valid @RequestBody CandidateAddApiRequest request,
@AuthenticationPrincipal UserPrincipal userPrincipal
) {
return ApiResponse.ok(voteManageService.addCandidate(
Expand Down

0 comments on commit 448e22c

Please sign in to comment.