Skip to content

Commit

Permalink
chore : fix RequestPart -> RequestParam
Browse files Browse the repository at this point in the history
  • Loading branch information
pdh90345 committed Jul 10, 2024
1 parent 5f9fc99 commit 476eb3a
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ public ApiResponse<PhotoChallengeDto> getPhotoChallenge(@RequestParam("challenge
public ApiResponse<Map<String, String>> savePhotoAnswer(
@RequestParam("challengeId") Long challengeId,
@RequestPart("answer") MultipartFile answerFile) throws Exception {
// challengeId RequestParam으로 변경해서 테스트

Member member = memberService.findMemberByLoginId();
Challenge challenge = challengeService.findChallengeById(challengeId);
Expand Down

0 comments on commit 476eb3a

Please sign in to comment.