Skip to content

Commit

Permalink
Merge pull request #29 from Ong-gi-Jong-gi/feature/TSK-35/lucky-bubble
Browse files Browse the repository at this point in the history
Chore : fix RequestPart -> RequestParam
  • Loading branch information
pdh90345 authored Jul 10, 2024
2 parents ecfdc9e + 476eb3a commit 45fbbad
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -163,8 +163,9 @@ public ApiResponse<PhotoChallengeDto> getPhotoChallenge(@RequestParam("challenge
// 사진 챌린지 수정
@PostMapping("/photo")
public ApiResponse<Map<String, String>> savePhotoAnswer(
@RequestPart("challengeId") Long challengeId,
@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 45fbbad

Please sign in to comment.