mirror of
https://github.com/pezkuwichain/pezkuwi-telemetry.git
synced 2026-11-04 16:11:06 +00:00
Fix location
This commit is contained in:
1 parent
43a87deb9c
commit
f6fabfe340
2 files changed
+3
-3
No files matched your search
@@ -30,7 +30,7 @@ export async function locate(ip: string): Promise<Maybe<Location>> {
|
||||
return resolve(null);
|
||||
}
|
||||
|
||||
const { lat, lon } = result;
|
||||
const { latitude: lat, longitude: lon } = result;
|
||||
const location = { lat, lon } as Location;
|
||||
|
||||
cache.set(ip, location);
|
||||
|
||||
Reference in new issue
Block a user