More fixes for iplocation v6

This commit is contained in:
Maciej Hirsz
2019-01-20 09:09:28 -08:00
parent 8cc1749979
commit a437c15a29
+1 -1
View File
@@ -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}`);