added more jobtypes

This commit is contained in:
Vishwa Gaurav
2022-06-29 15:47:39 +05:30
parent 0f42003ce5
commit 6c1b7b0165

View File

@@ -55,10 +55,13 @@ Query.prototype.getExperienceLevel = function(){
Query.prototype.getJobType = function(){
const jobTypeRange = {
'full time': 'F',
'full-time': 'F',
'part time': 'P',
'part-time': 'P',
'contract': 'C',
'temporary': 'T',
'volunteer': 'V'
'volunteer': 'V',
'internship': 'I'
}
return jobTypeRange[this.jobType.toLowerCase()] ?? ''
}