tango-app-api-trax 3.7.4-airtelv2-1 → 3.7.4-airtelv2-2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tango-app-api-trax",
3
- "version": "3.7.4-airtelv2-1",
3
+ "version": "3.7.4-airtelv2-2",
4
4
  "description": "Trax",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -575,7 +575,8 @@ export const getChecklistFromZipId = async ( req, res ) => {
575
575
  export const getAiChecklistDataFromZipId = async ( req, res ) => {
576
576
  try {
577
577
  let reqquery = req.query;
578
- let getzipdata = await downloadService.findOne( { _id: new mongoose.Types.ObjectId( reqquery.zipId ) } );
578
+ let getzip = await downloadService.findOne( { _id: new mongoose.Types.ObjectId( reqquery.zipId ) } );
579
+ let getzipdata = getzip.toObject();
579
580
  let brandInfo = {
580
581
  clientName: '',
581
582
  brandLogo: '',