From b9ea30b7dff37cc7f40468c4253de323279aa76e Mon Sep 17 00:00:00 2001 From: kyu-hyun <102718303+lalabulla@users.noreply.github.com> Date: Fri, 17 Jan 2025 19:44:50 +0900 Subject: [PATCH] hotfix --- .../insight/service/application/rest/InsightController.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/insight-service/insight-application/src/main/java/com/project/imdang/insight/service/application/rest/InsightController.java b/insight-service/insight-application/src/main/java/com/project/imdang/insight/service/application/rest/InsightController.java index d945c2b..8d7465d 100644 --- a/insight-service/insight-application/src/main/java/com/project/imdang/insight/service/application/rest/InsightController.java +++ b/insight-service/insight-application/src/main/java/com/project/imdang/insight/service/application/rest/InsightController.java @@ -112,8 +112,7 @@ public ResponseEntity createInsight(@AuthenticationPrinci @RequestPart("createInsightCommand") @Valid CreateInsightCommand createInsightCommand, @RequestPart("mainImage") MultipartFile mainImage) { createInsightCommand.setMemberId(memberId); - - + createInsightCommand.setMainImage(mainImage); CreateInsightResponse createInsightResponse = insightApplicationService.createInsight(createInsightCommand); log.info("Insight[id: {}] is created.", createInsightResponse.getInsightId()); return ResponseEntity.ok(createInsightResponse); @@ -171,4 +170,4 @@ public ResponseEntity accuseInsight(@AuthenticationPrinci } } - \ No newline at end of file +