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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fleetmap-reports",
3
- "version": "1.0.454",
3
+ "version": "1.0.455",
4
4
  "description": "",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -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 traccar.devices.devicesGet().then(d => d.data)
128
+ const devices = await traccarInstance.devices.devicesGet().then(d => d.data)
129
129
 
130
130
  let tripsData = []
131
131
  let routeData = []