From 5c31bed268e91d1ad336572242ea9e88cd01d2d4 Mon Sep 17 00:00:00 2001 From: ddongseop Date: Wed, 27 Mar 2024 14:44:29 +0900 Subject: [PATCH] =?UTF-8?q?[FIX]=20RequestBody=20=EC=96=B4=EB=85=B8?= =?UTF-8?q?=ED=85=8C=EC=9D=B4=EC=85=98=20=EC=B6=94=EA=B0=80=20#123?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/sopt/org/umbba/api/controller/qna/QnAController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/umbba-api/src/main/java/sopt/org/umbba/api/controller/qna/QnAController.java b/umbba-api/src/main/java/sopt/org/umbba/api/controller/qna/QnAController.java index 26608bc..c6131f8 100644 --- a/umbba-api/src/main/java/sopt/org/umbba/api/controller/qna/QnAController.java +++ b/umbba-api/src/main/java/sopt/org/umbba/api/controller/qna/QnAController.java @@ -115,7 +115,7 @@ public ApiResponse 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); }