Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ workflows:
filters:
branches:
only:
- gigs-apply-integration
- develop
# This is alternate dev env for parallel testing
- "build-test":
context : org-global
Expand Down
7 changes: 7 additions & 0 deletions docs/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,13 @@ components:
description: "The availability of the user"
default: true
example: true
skill:
type: string
description: "The candidate's skills separated via ,"
example: "Java,Angular,SQL Server,JavaScript"
salaryExpectation:
type: integer
description: "The candidate expected salary"
hasProfile:
type: boolean
description: "Whether has profile for the user"
Expand Down
2 changes: 2 additions & 0 deletions src/server/services/recruitCRM.js
Original file line number Diff line number Diff line change
Expand Up @@ -635,6 +635,8 @@ export default class RecruitCRMService {
const responseMapping = {
hasProfile: true,
phone: candidate.contact_number,
salaryExpectation: candidate.salary_expectation,
skill: candidate.skill,
resume: candidate.resume,
availability: _.isNil(candidate.available_from) ? true
: new Date(candidate.available_from) <= new Date(),
Expand Down