feat: Adding product and cost to the public-load data

This commit is contained in:
Josepablo C.
2026-01-07 17:43:39 -06:00
parent 14eb3820c2
commit 7d5b65df93

View File

@@ -36,7 +36,8 @@ const populate_list = [
{path:'carrier',select: carrier_projection },
{path:'driver',select: user_projection },
'posted_by_name',
'categories'
'categories',
'product',
];
const getById = async(req, res) => {
@@ -52,7 +53,7 @@ const getById = async(req, res) => {
"status",
"load_status",
"weight",
"product",
"estimated_cost",
"est_loading_date",
"est_unloading_date",
"origin.company_name",