diff --git a/scripts/job-rcrm-status-migration/restore.js b/scripts/job-rcrm-status-migration/restore.js index 29a88bda..50a90e33 100644 --- a/scripts/job-rcrm-status-migration/restore.js +++ b/scripts/job-rcrm-status-migration/restore.js @@ -30,7 +30,7 @@ async function restore () { const updated = await jbs[j].update({ rcrmStatus: null }) 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}` }) } } };