Skip to content

Commit

Permalink
Merge pull request #174 from CSID-DGU/backend/feature/crew
Browse files Browse the repository at this point in the history
BE: [fix] 크루 인증사진 에러 해결 #83
  • Loading branch information
Seoyoung2222 authored Dec 9, 2024
2 parents 5096f11 + 2910a6a commit cabc548
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 cabc548

Please sign in to comment.