tango-app-api-audit 3.6.34 → 3.6.35

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": "3.6.34",
3
+ "version": "3.6.35",
4
4
  "description": "audit & audit metrics apis",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -84,9 +84,9 @@ export async function sendComplianceEmail( {
84
84
  } );
85
85
 
86
86
  // Fetch video as base64 to attach in SES
87
- const videoResponse = await fetch( videoUrl );
88
- const videoBuffer = await videoResponse.arrayBuffer();
89
- const videoBase64 = Buffer.from( videoBuffer ).toString( 'base64' );
87
+ // const videoResponse = await fetch( videoUrl );
88
+ // const videoBuffer = await videoResponse.arrayBuffer();
89
+ // const videoBase64 = Buffer.from( videoBuffer ).toString( 'base64' );
90
90
 
91
91
  // HTML Email Template
92
92
  const htmlBody = ( userName, steps, compliancePercentage ) => {
@@ -224,7 +224,7 @@ export async function sendComplianceEmail( {
224
224
  Attachments: [
225
225
  {
226
226
  Name: `${storeName}_${startTime}-video.mp4`,
227
- Content: videoBase64,
227
+ Content: videoUrl,
228
228
  ContentType: 'video/mp4',
229
229
  },
230
230
  ],