feat: Adding product and cost to the public-load data
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user