feat: Removing unnecessary data from public-tracking response

This commit is contained in:
Josepablo C
2026-01-07 17:49:56 -06:00
parent 92f447e5b2
commit 57cd47558a

View File

@@ -35,9 +35,9 @@ const populate_list = [
{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 }, {path:'driver',select: user_projection },
'posted_by_name', {path:'posted_by_name', select: ['first_name','last_name']},
'categories', {path:'categories', select: 'name'},
'product', {path:'product', select: 'name' }
]; ];
const getById = async(req, res) => { const getById = async(req, res) => {