tango-app-api-infra 3.8.1-beta.31 → 3.8.1-beta.32

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.8.1-beta.31",
3
+ "version": "3.8.1-beta.32",
4
4
  "description": "infra",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -1055,9 +1055,6 @@ export async function downloadTickets( req, res ) {
1055
1055
  const inputData = req.query;
1056
1056
  const limit = inputData.limit;
1057
1057
  const skip = inputData.offset == 0 ? 0 : ( inputData.offset - 1 ) * limit || 0;
1058
- logger.info( { storeId: inputData?.storeId } );
1059
- // inputData.storeId = inputData?.storeId?.split( ',' ); // convert strig to array
1060
- logger.info( { inputData: inputData, limit: limit, skip: skip } );
1061
1058
  let source = [ 'storeId', 'dateString', 'ticketName', 'footfallCount', 'employeeCount', 'houseKeepingCount', 'duplicateCount', 'comments', 'employee', 'houseKeeping', 'duplicateImages', 'ticketId', 'clientId', 'storeName', 'createdAt', 'updatedAt', 'userName', 'role', 'status', 'employeeStatus', 'houseKeepingStatus', 'duplicateStatus' ];
1062
1059
  let filter = [
1063
1060
 
@@ -17,7 +17,7 @@ export async function isExist( req, res, next ) {
17
17
  },
18
18
  {
19
19
  term: {
20
- 'dateString.keyword': inputData?.dateString,
20
+ 'dateString': inputData?.dateString,
21
21
  },
22
22
  },
23
23
  ],