Skip to content

Commit 44b963d

Browse files
fix bodyskill
1 parent 2ffffff commit 44b963d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/services/JobService.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -618,7 +618,7 @@ async function searchJobs (currentUser, criteria, options = { returnAll: false }
618618
filter.skills = {
619619
[Op.contains]: [criteria.skill]
620620
}
621-
} else if (bodySkills && bodySkills > 0) {
621+
} else if (bodySkills && bodySkills.length > 0) {
622622
filter.skills = {
623623
[Op.or]: _.map(bodySkills, (item) => {
624624
return { [Op.contains]: [item] }

0 commit comments

Comments
 (0)