Skip to content

Colota - Android GPS Location tracker

first commit

Max Dietricheb2e8282cd53
diff --git a/src/helpers/sanitizeCoords.ts b/src/helpers/sanitizeCoords.ts
index b9acebb5..fd2dde87 100644
--- a/src/helpers/sanitizeCoords.ts
+++ b/src/helpers/sanitizeCoords.ts
@@ -54,7 +54,7 @@ export function sanitizeCoords(coords: LocationCoords): SanitizedCoords {
speed: Math.round(coords.speed ?? 0),
battery:
coords.battery !== undefined ? Math.round(coords.battery) : undefined,
- batteryStatus: coords.batteryStatus ?? 0,
+ batteryStatus: coords.battery_status ?? 0,
};
}