mirror of
https://github.com/danbulant/Portfolio
synced 2026-05-24 12:35:31 +00:00
refactor: are_candidate_details_complete name
This commit is contained in:
parent
8560c0b3a6
commit
eb5fc405e2
1 changed files with 1 additions and 1 deletions
|
|
@ -76,7 +76,7 @@ impl CandidateService {
|
|||
Ok(model)
|
||||
}
|
||||
|
||||
pub fn are_candidate_details_complete(candidate: &candidate::Model) -> bool {
|
||||
pub fn is_candidate_info(candidate: &candidate::Model) -> bool {
|
||||
candidate.name.is_some()
|
||||
&& candidate.surname.is_some()
|
||||
&& candidate.birthplace.is_some()
|
||||
|
|
|
|||
Loading…
Reference in a new issue