We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 865533f commit 5a4c59dCopy full SHA for 5a4c59d
src/eventHandlers/InterviewEventHandler.js
@@ -15,7 +15,8 @@ const teamService = require('../services/TeamService')
15
*/
16
async function sendInvitationEmail (payload) {
17
const interview = payload.value
18
- // get customer details
+ // get customer details via job candidate user
19
+ const jobCandidate = await models.JobCandidate.findById(interview.jobCandidateId)
20
const job = await jobCandidate.getJob()
21
teamService.sendEmail({}, {
22
template: 'interview-invitation',
0 commit comments