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);