Skip to content

Commit edbd480

Browse files
authored
Merge pull request #47 from JUP-Jupging/develop
fix
2 parents 119872c + b2dc0c2 commit edbd480

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/com/jup/jupging/domain/report/controller/ReportController.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ private Long memberIdFrom(String authHeader) {
4545
@PostMapping(value = "/reports", consumes = MediaType.MULTIPART_FORM_DATA_VALUE)
4646
public ResponseEntity<?> createReport(@RequestPart("image") MultipartFile multipartFile,
4747
@RequestHeader(value = "Authorization", required = false) String authHeader,
48-
@RequestBody ReportReq req) throws IOException {
48+
@RequestPart("req") ReportReq req) throws IOException {
4949
try {
5050
Long memberId = memberIdFrom(authHeader); // ← 토큰에서 memberId 추출
5151
String imageUrl = s3Uploader.upload(multipartFile, "static");

0 commit comments

Comments
 (0)