Skip to content

Commit 84a49e4

Browse files
author
sachin-maheshwari
authored
Merge pull request #98 from yoution/feature/shapeup4-cqrs-update
Feature/shapeup4 cqrs update
2 parents 9c87c6a + 8e27002 commit 84a49e4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/services/JobCandidateProcessorService.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ const localLogger = {
2121
* @returns {undefined}
2222
*/
2323
async function updateCandidateStatus ({ type, payload, previousData }) {
24-
if (previousData.status === payload.status) {
25-
localLogger.debug({ context: 'updateCandidateStatus', message: `jobCandidate is already in status: ${payload.status}` })
26-
return
27-
}
24+
// if (previousData.status === payload.status) {
25+
// localLogger.debug({ context: 'updateCandidateStatus', message: `jobCandidate is already in status: ${payload.status}` })
26+
// return
27+
// }
2828
// if (!['rejected', 'shortlist',].includes(payload.status)) {
2929
if (!['client rejected - screening', 'client rejected - interview', 'interview', 'selected', 'withdrawn', 'withdrawn-prescreen'].includes(payload.status)) {
3030
localLogger.debug({ context: 'updateCandidateStatus', message: `not interested status: ${payload.status}` })

0 commit comments

Comments
 (0)