Skip to content

Commit

Permalink
⚙️ :: (#main) NPE
Browse files Browse the repository at this point in the history
  • Loading branch information
geunoo committed Mar 25, 2024
1 parent 6188a28 commit a9f18af
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ public RecruitmentEntity toEntity(Recruitment domain) {
.personalContact(domain.isPersonalContract())
.militarySupport(domain.isMilitarySupport())
.status(domain.getStatus())
.startDate(domain.getRecruitingPeriod().startDate())
.endDate(domain.getRecruitingPeriod().endDate())
.startDate(domain.getRecruitingPeriod() == null ? null : domain.getRecruitingPeriod().startDate())
.endDate(domain.getRecruitingPeriod() == null ? null : domain.getRecruitingPeriod().endDate())
.requiredGrade(domain.getRequiredGrade())
.requiredLicenses(domain.getRequiredLicenses())
.pay(domain.getSalary().pay())
Expand Down

0 comments on commit a9f18af

Please sign in to comment.