diff --git a/server/data/autohouse.js b/server/data/autohouse.js index 92851602c..08fcc9815 100644 --- a/server/data/autohouse.js +++ b/server/data/autohouse.js @@ -198,7 +198,7 @@ const CreateRepairOrderTag = (job, errorCallback) => { if (!job.job_totals) { errorCallback({ - jobid: jobid, + jobid: job.id, ro_number: job.ro_number, error: { toString: () => "No job totals for RO." }, }); @@ -674,7 +674,7 @@ const CreateRepairOrderTag = (job, errorCallback) => { error, }); - errorCallback({ jobid: jobid, ro_number: job.ro_number, error }); + errorCallback({ jobid: job.id, ro_number: job.ro_number, error }); } };