Skip to content

Commit

Permalink
[HotFix] file -> petProfileImg name convert
Browse files Browse the repository at this point in the history
  • Loading branch information
Han-Jeong committed Mar 3, 2024
1 parent 8c63103 commit 61fb940
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public ApiResponseDto<Long> createPet(@RequestPart("createPetRequest") @Validate
@PutMapping(value = "/{petId}", consumes = MediaType.MULTIPART_FORM_DATA_VALUE)
public ApiResponseDto<Long> updatePet(@PathVariable("petId") Long petId,
@RequestPart("updatePetRequest") @Validated PetRequest updatePetRequest,
@RequestPart(value = "file", required = false) MultipartFile petProfileImg,
@RequestPart(value = "petProfileImg", required = false) MultipartFile petProfileImg,
@RequestParam("allowUpload") boolean allowUpload,
@AuthUser Member member) {
Long result = petCommandService.updatePet(petId, updatePetRequest, petProfileImg, allowUpload, member);
Expand Down

0 comments on commit 61fb940

Please sign in to comment.