feat(public-load-tracking): Adding driver name
This commit is contained in:
@@ -29,12 +29,12 @@ const carrier_projection = [
|
|||||||
'createdAt',
|
'createdAt',
|
||||||
'rfc'
|
'rfc'
|
||||||
];
|
];
|
||||||
|
|
||||||
const populate_list = [
|
const populate_list = [
|
||||||
{path:'posted_by',select: user_projection },
|
{path:'posted_by',select: user_projection },
|
||||||
{path:'vehicle',select: vehicle_projection },
|
{path:'vehicle',select: vehicle_projection },
|
||||||
{path:'company',select: company_projection },
|
{path:'company',select: company_projection },
|
||||||
{path:'carrier',select: carrier_projection },
|
{path:'carrier',select: carrier_projection },
|
||||||
|
{path:'driver',select: user_projection },
|
||||||
'posted_by_name',
|
'posted_by_name',
|
||||||
'categories'
|
'categories'
|
||||||
];
|
];
|
||||||
|
|||||||
Reference in New Issue
Block a user