tango-app-api-audit 3.6.42-eyetest-dynamicization.1 → 3.6.42-eyetest-dynamicization.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
|
@@ -482,7 +482,7 @@ export async function viewFile( req, res ) {
|
|
|
482
482
|
file_path: getData?.filePath,
|
|
483
483
|
Bucket: fileDate > configDate ? inputBucketName: inputOldBucketName,
|
|
484
484
|
key: fileDate > configDate ?'akamai' : 'aws',
|
|
485
|
-
type: getData?.type
|
|
485
|
+
type: getData?.type,
|
|
486
486
|
};
|
|
487
487
|
const getSignedUrl = await signedUrl( params );
|
|
488
488
|
logger.info( { mesagee: 'signedurl', getSignedUrl: getSignedUrl, params: params } );
|
|
@@ -665,7 +665,7 @@ export async function getFile( req, res ) {
|
|
|
665
665
|
file_path: getData?.filePath,
|
|
666
666
|
Bucket: fileDate > configDate ? inputBucketName: inputOldBucketName,
|
|
667
667
|
key: fileDate > configDate ?'akamai' : 'aws',
|
|
668
|
-
type: getData?.type
|
|
668
|
+
type: getData?.type,
|
|
669
669
|
};
|
|
670
670
|
const getSignedUrl = await signedUrl( params );
|
|
671
671
|
logger.info( { mesagee: 'signedurl', getSignedUrl: getSignedUrl, params: params } );
|
|
@@ -777,7 +777,9 @@ export async function save( req, res ) {
|
|
|
777
777
|
const inputData = req.body;
|
|
778
778
|
const openSearch = JSON.parse( process.env.OPENSEARCH );
|
|
779
779
|
const ses = JSON.parse( process.env.SES );
|
|
780
|
+
const bucket = JSON.parse( process.env.BUCKET );
|
|
780
781
|
// const url = JSON.parse( process.env.URL );
|
|
782
|
+
const updatedDate = process.env.EYE_TEST_UPDATED_DATE;
|
|
781
783
|
|
|
782
784
|
let searchFilter =[
|
|
783
785
|
{
|
|
@@ -939,7 +941,7 @@ export async function save( req, res ) {
|
|
|
939
941
|
file_path: inputUpdatedData?._source?.filePath,
|
|
940
942
|
Bucket: fileDate > configDate ? inputBucketName: inputOldBucketName,
|
|
941
943
|
key: fileDate > configDate ?'akamai' : 'aws',
|
|
942
|
-
type:
|
|
944
|
+
type: inputUpdatedData?._source?.type,
|
|
943
945
|
};
|
|
944
946
|
const getSignedUrl = await signedUrl( params );
|
|
945
947
|
logger.info( { mesagee: 'signedurl', getSignedUrl: getSignedUrl, params: params } );
|