Skip to content

Commit

Permalink
Merge pull request #220 from fourix4/dev
Browse files Browse the repository at this point in the history
test :
  • Loading branch information
TaeHoon0 authored Jul 28, 2024
2 parents 13327fd + 67512bc commit 32447f5
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,13 @@ public Response updateStudyCafe(@RequestPart(value = "data") ManagerRequestDto m
@RequestPart(value = "title_image", required = false) MultipartFile titleImage,
@RequestPart(value = "multiple_images", required = false) List<MultipartFile> multipleImages) {

if (titleImage != null && !titleImage.isEmpty()) {
System.out.println("Title Image Name: " + titleImage.getOriginalFilename());
System.out.println("Title Image Size: " + titleImage.getSize());
} else {
System.out.println("No Title Image Provided");
}

managerService.updateStudyCafe(managerRequestDto, titleImage, multipleImages);
return Response.success();
}
Expand Down

0 comments on commit 32447f5

Please sign in to comment.