mirror of
https://github.com/pezkuwichain/pezkuwi-telemetry.git
synced 2026-04-27 17:28:04 +00:00
More fixes for iplocation v6
This commit is contained in:
@@ -25,7 +25,7 @@ export async function locate(ip: string): Promise<Maybe<Location>> {
|
||||
const cached = cache.get(ip);
|
||||
|
||||
return new Promise<Maybe<Location>>((resolve, _) => {
|
||||
iplocation(ip, (err, result) => {
|
||||
iplocation(ip, [], (err, result) => {
|
||||
if (err) {
|
||||
console.error(`Couldn't locate ${ip}`);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user