Skip to content

Commit

Permalink
BE: [fix] 크루 인증사진 에러 해결 CSID-DGU#83
Browse files Browse the repository at this point in the history
  • Loading branch information
Seoyoung2222 committed Dec 9, 2024
1 parent b8a5ff0 commit 2910a6a
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,11 @@ public ResponseEntity<Integer> 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);
Expand Down

0 comments on commit 2910a6a

Please sign in to comment.