We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5560c07 + aebba9c commit e0fb9c6Copy full SHA for e0fb9c6
scripts/job-rcrm-status-migration-v2/backup.js
@@ -25,7 +25,7 @@ async function backup () {
25
where: { rcrmStatus: 'Open' }
26
})
27
for (const j of jbsInDb) {
28
- if (jobs.indexOf(j.externalId) < 0) {
+ if (j.externalId && jobs.indexOf(j.externalId) < 0) {
29
// The open job exists in taas but not showing up on Community-App
30
backupJobs.push(j.externalId)
31
}
0 commit comments