tango-app-api-infra 3.1.28 → 3.3.0-alpha.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
|
@@ -912,6 +912,12 @@ export async function getInfraIssues( req, res ) {
|
|
|
912
912
|
camera[index].thumbnailImage = await signedUrl( { Bucket: JSON.parse( process.env.BUCKET ).baseImage, file_path: camera[index].thumbnailImage } );
|
|
913
913
|
}
|
|
914
914
|
}
|
|
915
|
+
|
|
916
|
+
for ( let i =0; i< mergeValue.length; i++ ) {
|
|
917
|
+
let issueDateChanged = new Date( mergeValue[i].issueDate );
|
|
918
|
+
mergeValue[i].issueDate = dayjs( issueDateChanged ).format( 'DD-MM-YYYY' );
|
|
919
|
+
}
|
|
920
|
+
|
|
915
921
|
logger.info( { message: camera } );
|
|
916
922
|
return res.sendSuccess( { result: mergeValue, streams: camera, highCountTicketDetails: getHighCountTicket[0] || defaultValue } );
|
|
917
923
|
} catch ( error ) {
|