fleetmap-reports 1.0.531 → 1.0.532

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": "fleetmap-reports",
3
- "version": "1.0.531",
3
+ "version": "1.0.532",
4
4
  "description": "",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -59,13 +59,13 @@ async function createZoneReport (from, to, userData, traccar) {
59
59
  xpert: devices.filter(d => d.attributes.xpert).length > 0
60
60
  }
61
61
 
62
- const sliced = automaticReports.sliceArray(devices, 50)
62
+ const sliced = automaticReports.sliceArray(devices, 100)
63
63
 
64
64
  let deviceCount = 0
65
65
  for (const slice of sliced) {
66
66
  const allInOne = await traccarHelper.getAllInOne(
67
67
  traccar, from, to, slice, true, false, false, false,
68
- deviceCount, devices.length, 50, 10)
68
+ deviceCount, devices.length, 100, 10)
69
69
  const routeData = allInOne.route
70
70
 
71
71
  const data = getInAndOutEvents(slice, routeData, userData)