Skip to content

Commit

Permalink
hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
lalabulla authored Jan 17, 2025
1 parent 0c68523 commit b9ea30b
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,7 @@ public ResponseEntity<CreateInsightResponse> 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);
Expand Down Expand Up @@ -171,4 +170,4 @@ public ResponseEntity<AccuseInsightResponse> accuseInsight(@AuthenticationPrinci
}
}



0 comments on commit b9ea30b

Please sign in to comment.