tango-app-api-audit 1.0.30 → 1.0.31

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-audit",
3
- "version": "1.0.30",
3
+ "version": "1.0.31",
4
4
  "description": "audit & audit metrics apis",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -25,7 +25,7 @@
25
25
  "nodemon": "^3.1.3",
26
26
  "swagger-ui-express": "^5.0.1",
27
27
  "tango-api-schema": "^2.0.138",
28
- "tango-app-api-middleware": "^3.1.26",
28
+ "tango-app-api-middleware": "^3.1.27",
29
29
  "winston": "^3.13.0",
30
30
  "winston-daily-rotate-file": "^5.0.0"
31
31
  },
@@ -280,7 +280,7 @@ export async function zipDownloadImage( data ) {
280
280
  Key: chunk[i].imgFile.Key,
281
281
  };
282
282
  const fileBuffer = await getObject( params );
283
- zip.addFile( chunk[i].imgFile.Key, fileBuffer );
283
+ zip.addFile( chunk[i].imgFile.Key, fileBuffer.Body );
284
284
  }
285
285
  return zip;
286
286
  } );