fleetmap-reports 1.0.454 → 1.0.455
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/activity-report.js +1 -1
package/package.json
CHANGED
package/src/activity-report.js
CHANGED
|
@@ -125,7 +125,7 @@ async function createActivityReportByDevice (from, to, userData, traccarInstance
|
|
|
125
125
|
}
|
|
126
126
|
|
|
127
127
|
async function createActivityReportByDriver (from, to, userData, traccarInstance) {
|
|
128
|
-
const devices = await
|
|
128
|
+
const devices = await traccarInstance.devices.devicesGet().then(d => d.data)
|
|
129
129
|
|
|
130
130
|
let tripsData = []
|
|
131
131
|
let routeData = []
|