Skip to content

Commit 625d090

Browse files
committed
Added email notif
1 parent c3c00a8 commit 625d090

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/server/services/recruitCRM.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ export default class RecruitCRMService {
398398
form.custom_fields.push({
399399
field_id: 6, value: `https://app.growsurf.com/dashboard/campaign/${config.GROWSURF_CAMPAIGN_ID}/participant/${growRes.id}`,
400400
});
401-
}
401+
} else notifyKirilAndNick(growRes);
402402
}
403403
} else {
404404
growRes = await gs.addParticipant(JSON.stringify({
@@ -418,7 +418,7 @@ export default class RecruitCRMService {
418418
form.custom_fields.push({
419419
field_id: 6, value: `https://app.growsurf.com/dashboard/campaign/${config.GROWSURF_CAMPAIGN_ID}/participant/${growRes.id}`,
420420
});
421-
}
421+
} else notifyKirilAndNick(growRes);
422422
}
423423
// finally, clear the cookie
424424
res.cookie(config.GROWSURF_COOKIE, '', {

0 commit comments

Comments
 (0)