fleetmap-reports 1.0.985 → 1.0.986
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/kms-report.js +1 -1
package/package.json
CHANGED
package/src/kms-report.js
CHANGED
|
@@ -161,7 +161,7 @@ async function createKmsReportByGroup (from, to, userData, traccarInstance) {
|
|
|
161
161
|
return reportData
|
|
162
162
|
}
|
|
163
163
|
|
|
164
|
-
function processDrivers (from, to, userData, data) {
|
|
164
|
+
async function processDrivers (from, to, userData, data) {
|
|
165
165
|
const driversResult = []
|
|
166
166
|
const driversOnRoute = data.route ? new Set(data.route.map(p => p.attributes.driverUniqueId)) : new Set([])
|
|
167
167
|
const driverToProcess = userData.drivers.filter(d => driversOnRoute.has(d.uniqueId))
|