Skip to content

Commit b43b6a4

Browse files
authored
chore: fix missing email var (#3408)
1 parent cd9222f commit b43b6a4

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

__tests__/workers/newNotificationV2Mail.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2858,6 +2858,7 @@ describe('recruiter_new_candidate notification', () => {
28582858
job_title: 'Senior Full Stack Developer',
28592859
score: '85%',
28602860
matching_content: 'Strong JS skills',
2861+
candidate_link: `http://localhost:5002/recruiter/${opportunitiesFixture[0].id}/matches`,
28612862
});
28622863
});
28632864
});

src/workers/newNotificationV2Mail.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1204,6 +1204,7 @@ const notificationToTemplateData: Record<NotificationType, TemplateDataFunc> = {
12041204
job_title: opportunity.title || '',
12051205
score: matchScore,
12061206
matching_content: matchingContent,
1207+
candidate_link: `${process.env.COMMENTS_PREFIX}/recruiter/${opportunityId}/matches`,
12071208
};
12081209
},
12091210
recruiter_opportunity_live: async (_con, _user, notification) => {

0 commit comments

Comments
 (0)