tango-app-api-infra 3.1.34-beta.1 → 3.1.34-beta.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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tango-app-api-infra",
3
- "version": "3.1.34-beta.1",
3
+ "version": "3.1.34-beta.2",
4
4
  "description": "infra",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -753,8 +753,8 @@ export async function download( data ) {
753
753
  export async function edgeApplogsCheck( req, res ) {
754
754
  try {
755
755
  let finalresult = [];
756
- let ticketList = await findTangoTicket( { 'issueDate': new Date( req.body.issueDate ), 'basicDetails.storeId': '11-1297', 'status': { $ne: 'closed' }, 'ticketDetails.issueStatus': 'notidentified', 'issueType': 'infra' } );
757
- let refreshTicket = await findTangoTicket( { 'ticketDetails.ticketRefreshTime': new Date( req.body.issueDate ), 'basicDetails.storeId': '11-1297', 'status': { $ne: 'closed' }, 'ticketDetails.ticketType': 'refreshticket', 'ticketDetails.refreshTicketStatus': 'notidentified', 'issueType': 'infra' } );
756
+ let ticketList = await findTangoTicket( { 'issueDate': new Date( req.body.issueDate ), 'status': { $ne: 'closed' }, 'ticketDetails.issueStatus': 'notidentified', 'issueType': 'infra' } );
757
+ let refreshTicket = await findTangoTicket( { 'ticketDetails.ticketRefreshTime': new Date( req.body.issueDate ), 'status': { $ne: 'closed' }, 'ticketDetails.ticketType': 'refreshticket', 'ticketDetails.refreshTicketStatus': 'notidentified', 'issueType': 'infra' } );
758
758
  ticketList = [ ...refreshTicket, ...ticketList ];
759
759
  for ( let ticket of ticketList ) {
760
760
  req.body.date = dayjs( ticket.createdAt ).format( 'YYYY-MM-DD' );