Skip to content

Commit

Permalink
[FIX] RequestBody 어노테이션 추가 #123
Browse files Browse the repository at this point in the history
  • Loading branch information
ddongseop committed Mar 27, 2024
1 parent 79490a5 commit 5c31bed
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ public ApiResponse<RerollCheckResponseDto> rerollCheck(Principal principal) {

@PatchMapping("/reroll/change")
@ResponseStatus(HttpStatus.OK)
public ApiResponse rerollChange(Principal principal, RerollChangeRequestDto request) {
public ApiResponse rerollChange(Principal principal, @RequestBody RerollChangeRequestDto request) {
qnAService.rerollChange(getUserFromPrincial(principal), request.getQuestionId());
return ApiResponse.success(SuccessType.REROLL_CHANGE_SUCCESS);
}
Expand Down

0 comments on commit 5c31bed

Please sign in to comment.