tango-app-api-report 3.3.3 → 3.3.4
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
|
@@ -262,7 +262,7 @@ export async function generateReport( req, res ) {
|
|
|
262
262
|
logSubType: 'generateReport',
|
|
263
263
|
logData: {
|
|
264
264
|
// clientName: req.report?.clientName,
|
|
265
|
-
fileDate: inputData.fileDate,
|
|
265
|
+
fileDate: inputData.fileDate.split( '-' ).reverse().join( '-' ),
|
|
266
266
|
reportName: req.report?.reportConfigs?.reportName,
|
|
267
267
|
clientId: inputData.clientId,
|
|
268
268
|
sqsMessageId: sqsQueue.MessageId,
|
|
@@ -335,7 +335,7 @@ export async function uploadManualReport( req, res ) {
|
|
|
335
335
|
};
|
|
336
336
|
logger.info( { log: log } );
|
|
337
337
|
await insertOpenSearchData( openSearch.auditLog, log );
|
|
338
|
-
return res.sendSuccess( { result: '
|
|
338
|
+
return res.sendSuccess( { result: 'Uploaded Sucessfully' } );
|
|
339
339
|
} else {
|
|
340
340
|
return res.sendError( 'File Name is Incorrect', 400 );
|
|
341
341
|
}
|