fleetmap-reports 2.0.118 → 2.0.119

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": "2.0.118",
3
+ "version": "2.0.119",
4
4
  "description": "",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -256,7 +256,6 @@ async function processDevices (from, to, devices, data, userData, traccarInstanc
256
256
  if (summary.length) {
257
257
  summary.forEach(s => {
258
258
  s.engineHours = deviceTrips.reduce((a, b) => a + b.duration, 0)
259
- s.distance = getKms(deviceTrips)
260
259
  s.convertedSpentFuel = calculateConsumption(d, { route: deviceRoute, summary: s })
261
260
  s.startTime = deviceTrips.length && deviceTrips[0].startTime
262
261
  s.startAddress = deviceTrips.length && deviceTrips[0].startAddress