@@ -33,8 +33,8 @@ public class ManagementTaskController {
3333 private final ApprovalTaskUsecase approvalTaskUsecase ;
3434
3535 @ Operation (summary = "작업 요청 생성" )
36- @ PostMapping (consumes = {MediaType .APPLICATION_JSON_VALUE , MediaType . MULTIPART_FORM_DATA_VALUE })
37- @ Secured ({"ROLE_MANAGER, ROLE_USER" })
36+ @ PostMapping (consumes = {MediaType .MULTIPART_FORM_DATA_VALUE })
37+ @ Secured ({"ROLE_MANAGER" , " ROLE_USER" })
3838 public ResponseEntity <CreateTaskResponse > createTask (
3939 @ RequestPart (name = "taskInfo" ) @ Valid CreateTaskRequest createTaskRequest ,
4040 @ RequestPart (name = "attachment" ) @ NotNull List <MultipartFile > attachments ,
@@ -44,8 +44,8 @@ public ResponseEntity<CreateTaskResponse> createTask(
4444 }
4545
4646 @ Operation (summary = "작업 수정" )
47- @ PatchMapping (value = "/{taskId}" , consumes = {MediaType .APPLICATION_JSON_VALUE , MediaType . MULTIPART_FORM_DATA_VALUE })
48- @ Secured ({"ROLE_MANAGER, ROLE_USER" })
47+ @ PatchMapping (value = "/{taskId}" , consumes = {MediaType .MULTIPART_FORM_DATA_VALUE })
48+ @ Secured ({"ROLE_MANAGER" , " ROLE_USER" })
4949 public ResponseEntity <UpdateTaskResponse > updateTask (
5050 @ PathVariable @ NotNull Long taskId ,
5151 @ RequestPart (name = "taskInfo" ) @ Valid UpdateTaskRequest updateTaskRequest ,
0 commit comments