fleetmap-reports 1.0.365 → 1.0.366
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 +1 -1
- package/src/speeding-report.js +1 -1
package/package.json
CHANGED
package/src/speeding-report.js
CHANGED
|
@@ -95,7 +95,7 @@ async function createSpeedingReportByDevice(from, to, userData, traccarInstance)
|
|
|
95
95
|
}
|
|
96
96
|
}
|
|
97
97
|
|
|
98
|
-
async function createSpeedingReportByDriver(from, to, userData) {
|
|
98
|
+
async function createSpeedingReportByDriver(from, to, userData, traccarInstance) {
|
|
99
99
|
const devices = await drivers.devicesByDriver(traccarInstance, from, to, userData.drivers, userData.devices)
|
|
100
100
|
console.log('Devices with driver',devices.length)
|
|
101
101
|
|