tango-app-api-infra 3.9.11 → 3.9.12

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.9.11",
3
+ "version": "3.9.12",
4
4
  "description": "infra",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -2579,10 +2579,10 @@ export async function ticketList( req, res ) {
2579
2579
  let sortKey = null;
2580
2580
  if ( inputData.sortBy === 'ticketRaised' ) {
2581
2581
  sortKey = 'createdAt';
2582
- requestedSortType =( req.user.userType === 'tango' && inputData.tangoType === 'store' )? 'tangorevirew' : inputData?.permissionType === 'review' ? 'review' : ( ticketsFeature && !ticketsApproveFeature )? 'review':'approve';
2582
+ requestedSortType =( req.user.userType === 'tango' && inputData.tangoType === 'store' )? 'tangoreview' : inputData?.permissionType === 'review' ? 'review' : ( ticketsFeature && !ticketsApproveFeature )? 'review':'approve';
2583
2583
  } else if ( inputData.sortBy === 'dueDate' ) {
2584
2584
  sortKey = 'dueDate';
2585
- requestedSortType =( req.user.userType === 'tango' && inputData.tangoType === 'store' )? 'tangorevirew' : inputData?.permissionType === 'review' ? 'review' : ( ticketsFeature && !ticketsApproveFeature )? 'review':'approve';
2585
+ requestedSortType =( req.user.userType === 'tango' && inputData.tangoType === 'store' )? 'tangoreview' : inputData?.permissionType === 'review' ? 'review' : ( ticketsFeature && !ticketsApproveFeature )? 'review':'approve';
2586
2586
  } else if ( inputData.sortBy === 'storeRevisedAccuracy' ) {
2587
2587
  sortKey = 'revicedPerc';
2588
2588
  requestedSortType = 'tagging';