Skip to content

Commit 3bd9d5a

Browse files
adjust code comments
1 parent 719f024 commit 3bd9d5a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/eventHandlers/JobCandidateEventHandler.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ async function updateJobCandidates (statuses, userId) {
7070
logger.info({
7171
component: 'JobCandidateEventHandler',
7272
context: 'updateJobCandidates',
73-
message: `Begining update id: ${candidate.id}' candidate with ${candidate.status} status into ${config.STATUS_MAPPING[candidate.status]} for userId: ${userId}`
73+
message: `Begin update id: ${candidate.id}' candidate with ${candidate.status} status into ${config.STATUS_MAPPING[candidate.status]} for userId: ${userId}`
7474
})
7575
await JobCandidateService.partiallyUpdateJobCandidate(
7676
helper.getAuditM2Muser(),
@@ -80,7 +80,7 @@ async function updateJobCandidates (statuses, userId) {
8080
logger.info({
8181
component: 'JobCandidateEventHandler',
8282
context: 'updateJobCandidates',
83-
message: `Finishing update id: ${result.id}' candidate into ${result.status} status for userId: ${userId}`
83+
message: `Finish update id: ${result.id}' candidate into ${result.status} status for userId: ${userId}`
8484
})
8585
})
8686
})
@@ -107,19 +107,19 @@ async function withDrawnJobCandidates (payload) {
107107
logger.info({
108108
component: 'JobCandidateEventHandler',
109109
context: 'withDrawnJobCandidates',
110-
message: `Begining update jobCandidates as ${payload.value.id} candidate's new gig is requiring 20 hrs per week`
110+
message: `Begin update jobCandidates as ${payload.value.id} candidate's new gig is requiring more than 20 hrs per week`
111111
})
112112
await updateJobCandidates(['applied', 'skills-test', 'phone-screen', 'open', 'interview', 'selected', 'offered'], payload.value.userId)
113113
logger.info({
114114
component: 'JobCandidateEventHandler',
115115
context: 'withDrawnJobCandidates',
116-
message: `Finished update jobCandidates as ${payload.value.id} candidate`
116+
message: `Finish update jobCandidates as ${payload.value.id} candidate`
117117
})
118118
} else {
119119
logger.debug({
120120
component: 'JobCandidateEventHandler',
121121
context: 'withDrawnJobCandidates',
122-
message: `id: ${payload.value.id} candidate is not a placed gig requiring 20 hrs per week`
122+
message: `id: ${payload.value.id} candidate is not placing on a gig requiring 20 hrs per week`
123123
})
124124
}
125125
}

0 commit comments

Comments
 (0)