tango-app-api-audit 3.3.0-alpha.1 → 3.3.0-alpha.3

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.3.0-alpha.1",
3
+ "version": "3.3.0-alpha.3",
4
4
  "description": "audit & audit metrics apis",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -24,8 +24,8 @@
24
24
  "mongodb": "^6.7.0",
25
25
  "nodemon": "^3.1.3",
26
26
  "swagger-ui-express": "^5.0.1",
27
- "tango-api-schema": "^2.0.152",
28
- "tango-app-api-middleware": "^3.1.30",
27
+ "tango-api-schema": "^2.0.154",
28
+ "tango-app-api-middleware": "^3.3.0-alpha.0",
29
29
  "winston": "^3.13.0",
30
30
  "winston-daily-rotate-file": "^5.0.0"
31
31
  },
@@ -632,7 +632,7 @@ export async function getFilterData( msg ) {
632
632
  try {
633
633
  const bucket = JSON.parse( process.env.BUCKET );
634
634
  const params = {
635
- Bucket: `${bucket.auditOutput}`,
635
+ Bucket: `${bucket.auditUploadBucket}`,
636
636
  Key: `${msg.store_id}/${msg.zone_id}/${msg.curr_date}/${bucket.masterJsonFile}`,
637
637
  };
638
638
  const mappingFile = await getJsonFileData( params );
@@ -302,7 +302,7 @@ export async function getAuditFilterData( data ) {
302
302
  const storeId = data.storeId;
303
303
  const fileDate = data.fileDate;
304
304
  const params = {
305
- Bucket: `${bucket.auditOutput}`,
305
+ Bucket: `${bucket.auditUploadBucket}`,
306
306
  Key: `${storeId}/${data.zoneName}/${fileDate}/${bucket.masterJsonFile}`,
307
307
  };
308
308
  const mappingFile = await getJsonFileData( params );
@@ -50,7 +50,7 @@ export async function getZoneAuditFilterData( data ) {
50
50
  const storeId = data.storeId;
51
51
  const fileDate = data.fileDate;
52
52
  const params = {
53
- Bucket: `${bucket.auditOutput}`,
53
+ Bucket: `${bucket.auditUploadBucket}`,
54
54
  Key: `${storeId}/${data.zoneName}/${fileDate}/${bucket.masterJsonFile}`,
55
55
  };
56
56
  const mappingFile = await getJsonFileData( params );