tango-app-api-audit 3.5.7-stage.0 → 3.5.7-stage.1
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
|
@@ -1397,12 +1397,13 @@ export async function save( req, res ) {
|
|
|
1397
1397
|
params.Bucket = bucket.auditUploadBucket;
|
|
1398
1398
|
} else {
|
|
1399
1399
|
params.Bucket = bucket.masterJson;
|
|
1400
|
+
params.Key = `${inputData.storeId}/${inputData.zoneName}/${inputData.fileDate}/${bucket.srcMasterJsonFile}`
|
|
1400
1401
|
}
|
|
1401
1402
|
const fileData = await getJsonFileData( params );
|
|
1402
1403
|
|
|
1403
1404
|
if ( fileData?.statusCode ) {
|
|
1404
1405
|
logger.error( {
|
|
1405
|
-
error: `ERROR IN UPLOAD PATH: ${
|
|
1406
|
+
error: `ERROR IN UPLOAD PATH: ${params.Key}`,
|
|
1406
1407
|
type: 'UPLOAD_ERROR',
|
|
1407
1408
|
} );
|
|
1408
1409
|
return res.sendError( fileData, 500 );
|