From 476eb3a7bf19fca0891b075a82f6176754358a39 Mon Sep 17 00:00:00 2001 From: pdh903 Date: Wed, 10 Jul 2024 11:45:23 +0900 Subject: [PATCH] chore : fix RequestPart -> RequestParam --- .../java/ongjong/namanmoo/controller/ChallengeController.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/ongjong/namanmoo/controller/ChallengeController.java b/src/main/java/ongjong/namanmoo/controller/ChallengeController.java index c4638a6..40123be 100644 --- a/src/main/java/ongjong/namanmoo/controller/ChallengeController.java +++ b/src/main/java/ongjong/namanmoo/controller/ChallengeController.java @@ -165,6 +165,7 @@ public ApiResponse getPhotoChallenge(@RequestParam("challenge public ApiResponse> savePhotoAnswer( @RequestParam("challengeId") Long challengeId, @RequestPart("answer") MultipartFile answerFile) throws Exception { + // challengeId RequestParam으로 변경해서 테스트 Member member = memberService.findMemberByLoginId(); Challenge challenge = challengeService.findChallengeById(challengeId);