diff --git a/src/backend/src/main/java/RunningMachines/R2R/domain/crew/common/controller/CrewController.java b/src/backend/src/main/java/RunningMachines/R2R/domain/crew/common/controller/CrewController.java index 03b13c4..377a462 100644 --- a/src/backend/src/main/java/RunningMachines/R2R/domain/crew/common/controller/CrewController.java +++ b/src/backend/src/main/java/RunningMachines/R2R/domain/crew/common/controller/CrewController.java @@ -26,8 +26,11 @@ public ResponseEntity createCrew(@RequestParam String title, @RequestPa CrewCreateCommandDto crewCreateCommandDto = CrewCreateCommandDto.builder() .title(title) .profileImage(profileImage) + .certificationImage(certificationImage) .build(); + crewCreateCommandDto.validate(); + Integer crewPasscode = crewCommandService.createCrew(crewCreateCommandDto); return ResponseEntity.ok(crewPasscode);