@@ -90,7 +90,6 @@ async function getDataForInterview (interview, jobCandidate, job) {
90
90
if ( ! user ) { return null }
91
91
92
92
const interviewLink = `${ config . TAAS_APP_URL } /${ job . projectId } /positions/${ job . id } /candidates/interviews`
93
- // const guestName = _.isEmpty(interview.guestNames) ? '' : interview.guestNames[0]
94
93
const startTime = interview . startTimestamp ? helper . formatDateTimeEDT ( interview . startTimestamp ) : ''
95
94
const jobUrl = `${ config . TAAS_APP_URL } /${ job . projectId } /positions/${ job . id } `
96
95
const applicationUrl = `${ config . TAAS_APP_EARN_URL } ?status=Active%20Gigs`
@@ -792,13 +791,13 @@ function errorCatchWrapper (callback, name) {
792
791
793
792
module . exports = {
794
793
sendNotification,
795
- sendCandidatesAvailableNotifications,
796
- sendInterviewComingUpNotifications,
797
- sendInterviewCompletedNotifications,
794
+ sendCandidatesAvailableNotifications : errorCatchWrapper ( sendCandidatesAvailableNotifications , 'sendCandidatesAvailableNotifications' ) ,
795
+ sendInterviewComingUpNotifications : errorCatchWrapper ( sendInterviewComingUpNotifications , 'sendInterviewComingUpNotifications' ) ,
796
+ sendInterviewCompletedNotifications : errorCatchWrapper ( sendInterviewCompletedNotifications , 'sendInterviewCompletedNotifications' ) ,
798
797
sendInterviewExpiredNotifications : errorCatchWrapper ( sendInterviewExpiredNotifications , 'sendInterviewExpiredNotifications' ) ,
799
798
sendInterviewScheduleReminderNotifications : errorCatchWrapper ( sendInterviewScheduleReminderNotifications , 'sendInterviewScheduleReminderNotifications' ) ,
800
799
updateInterviewStatus,
801
800
sendInterviewInvitationNotifications,
802
- sendPostInterviewActionNotifications,
803
- sendResourceBookingExpirationNotifications
801
+ sendPostInterviewActionNotifications : errorCatchWrapper ( sendPostInterviewActionNotifications , 'sendPostInterviewActionNotifications' ) ,
802
+ sendResourceBookingExpirationNotifications : errorCatchWrapper ( sendResourceBookingExpirationNotifications , 'sendResourceBookingExpirationNotifications' )
804
803
}
0 commit comments