mirror of
https://github.com/pezkuwichain/pezkuwi-telemetry.git
synced 2026-10-27 05:49:49 +00:00
More fixes for iplocation v6
This commit is contained in:
1 parent
8cc1749979
commit
a437c15a29
1 file changed
+1
-1
@@ -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