diff --git a/scripts/job-rcrm-status-migration/migration.js b/scripts/job-rcrm-status-migration/migration.js index 23236f13..3b9489d3 100644 --- a/scripts/job-rcrm-status-migration/migration.js +++ b/scripts/job-rcrm-status-migration/migration.js @@ -30,7 +30,7 @@ async function migration () { const updated = await jbs[j].update({ rcrmStatus: 'Open' }) summary++ totalSum++ - logger.info({ component: currentStep, message: `job with rcrmId ${rcrmIds[i]} status changed from ${oldStatus} to ${updated.status}` }) + logger.info({ component: currentStep, message: `job with rcrmId ${rcrmIds[i]} status changed from ${oldStatus} to ${updated.rcrmStatus}` }) } } };