Skip to content

Commit

Permalink
Fix bug in shipment reports
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcameron committed Nov 9, 2023
1 parent fa0d99a commit bc4a031
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const _ = require('lodash');
const {
ReportManager,
formatFilters,
shipment,
Shipment,
SHIPMENTS_REPORT_TEMPLATE,
} = require('./common');

Expand All @@ -24,7 +24,7 @@ async function getReport(req, res, next) {
}

const report = new ReportManager(SHIPMENTS_REPORT_TEMPLATE, req.session, optionReport);
const rows = await shipment.find(params);
const rows = await Shipment.find(params);

const data = {
rows,
Expand Down

0 comments on commit bc4a031

Please sign in to comment.