From 16a2f1ce82dcf8132b3941f6901709d27244ae53 Mon Sep 17 00:00:00 2001 From: khj0414 Date: Thu, 20 Feb 2025 11:19:02 +0900 Subject: [PATCH] Merge branch 'khj' into main --- .../localhost/controller/common/ImageUploadController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/io/company/localhost/controller/common/ImageUploadController.java b/src/main/java/io/company/localhost/controller/common/ImageUploadController.java index b4002a3..b32d3bf 100644 --- a/src/main/java/io/company/localhost/controller/common/ImageUploadController.java +++ b/src/main/java/io/company/localhost/controller/common/ImageUploadController.java @@ -50,7 +50,7 @@ public class ImageUploadController { */ @ParameterCheck @PostMapping("/upload") - public ApiResponse uploadImage(@ReqMap MultipartFile file) throws IOException { + public ApiResponse uploadImage(@RequestParam("file") MultipartFile file) throws IOException { if (file.isEmpty()) { return ApiResponse.error(HttpStatus.BAD_REQUEST, "File is empty");