File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
src/main/java/com/climbup/climbup/attempt/controller Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 3131import org .springframework .data .domain .Pageable ;
3232import org .springframework .data .domain .Sort ;
3333import org .springframework .http .HttpStatus ;
34+ import org .springframework .http .MediaType ;
3435import org .springframework .http .ResponseEntity ;
3536import org .springframework .security .access .prepost .PreAuthorize ;
3637import org .springframework .web .bind .annotation .*;
@@ -164,11 +165,11 @@ public ResponseEntity<ApiResult<RouteMissionUploadChunkResponse>> uploadRouteMis
164165
165166 @ Operation (summary = "해당 도전의 영상 업로드 세션 마무리" , description = "해당 도전의 영상 업로드 세션을 마무리하고 썸네일을 함께 업로드합니다." , security = @ SecurityRequirement (name = "bearerAuth" ))
166167 @ ApiResponse (responseCode = "201" , description = "해당 도전의 영상 업로드 세션 마무리" )
167- @ PostMapping (value = "/{attemptId}/upload/{uploadId}/finalize" )
168+ @ PostMapping (value = "/{attemptId}/upload/{uploadId}/finalize" , consumes = MediaType . MULTIPART_FORM_DATA_VALUE )
168169 public ResponseEntity <ApiResult <RouteMissionUploadSessionFinalizeResponse >> finalizeRouteMissionUploadSession (
169170 @ PathVariable (name = "attemptId" ) Long attemptId ,
170171 @ PathVariable (name = "uploadId" ) UUID uploadId ,
171- @ RequestParam (value = "thumbnail" , required = false ) MultipartFile thumbnailFile
172+ @ RequestPart (value = "thumbnail" , required = false ) MultipartFile thumbnailFile
172173 ) {
173174 // 디버깅 로그 추가
174175 log .info ("=== Finalize API 호출됨 ===" );
You can’t perform that action at this time.
0 commit comments