Skip to content

Commit cf8f6fe

Browse files
committed
fix notification demo data
1 parent 339068d commit cf8f6fe

File tree

1 file changed

+0
-10
lines changed
  • scripts/demo-email-notifications

1 file changed

+0
-10
lines changed

scripts/demo-email-notifications/index.js

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -45,16 +45,6 @@ async function resetNotificationRecords () {
4545
await jobCandidate.update({ status: 'interview' })
4646
const c2Interview = await Interview.findById('077aa2ca-5b60-4ad9-a965-1b37e08a5046')
4747
await c2Interview.update({ startTimestamp: moment().subtract(moment.duration(config.POST_INTERVIEW_ACTION_MATCH_WINDOW)).subtract(30, 'm').toDate(), duration, endTimeStamp: completedEndTimestamp, guestNames: ['guest1', 'guest2'], hostName: 'hostName' })
48-
const jobCandidateWithinOneDay = await JobCandidate.findById('827ee401-df04-42e1-abbe-7b97ce7937ff')
49-
await jobCandidateWithinOneDay.update({ status: 'interview' })
50-
const interviewWithinOneDay = await Interview.findById('3144fa65-ea1a-4bec-81b0-7cb1c8845826')
51-
await interviewWithinOneDay.update({
52-
startTimestamp: moment(completedStartTimestamp).clone().add(config.INTERVIEW_COMPLETED_MATCH_WINDOW), // add WINDOW to not receive "completed interview" email
53-
duration,
54-
endTimeStamp: moment(completedEndTimestamp).clone().add(config.INTERVIEW_COMPLETED_MATCH_WINDOW), // add WINDOW to not receive "completed interview" email
55-
guestNames: ['guest1', 'guest2'],
56-
hostName: 'hostName'
57-
})
5848

5949
// reset upcoming resource booking expiration records
6050
localLogger.info('reset upcoming resource booking expiration records')

0 commit comments

Comments
 (0)