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
|
@@ -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
|
|