Client fixes

This commit is contained in:
2026-06-24 01:21:21 -04:00
parent b525dd27c8
commit 3fd94626b6
6 changed files with 10 additions and 25 deletions

View File

@@ -144,7 +144,7 @@ export async function getCoords() {
`;
const rows = await query(flux);
if(rows.length && rows[0].latitude && rows[0].longitude) {
return {lat: rows[0].latitude, lon: rows[0].longitude, alt: rows[0].altitude || c.ALTITUDE};
return {latitude: rows[0].latitude, longitude: rows[0].longitude, altitude: rows[0].altitude || c.ALTITUDE};
}
return {latitude: c.LATITUDE, longitude: c.LONGITUDE, altitude: c.ALTITUDE};
}