Correct maxmind geoip-db GEOLITE2_ISP to GEOIP2_ISP

This commit is contained in:
wiz
2022-07-23 23:53:28 +02:00
parent ffe22399d5
commit ad9e989598
3 changed files with 5 additions and 5 deletions

View File

@@ -11,7 +11,7 @@ export async function $lookupNodeLocation(): Promise<void> {
const nodes = await nodesApi.$getAllNodes();
const lookupCity = await maxmind.open<CityResponse>(config.MAXMIND.GEOLITE2_CITY);
const lookupAsn = await maxmind.open<AsnResponse>(config.MAXMIND.GEOLITE2_ASN);
const lookupIsp = await maxmind.open<IspResponse>(config.MAXMIND.GEOLITE2_ISP);
const lookupIsp = await maxmind.open<IspResponse>(config.MAXMIND.GEOIP2_ISP);
for (const node of nodes) {
const sockets: string[] = node.sockets.split(',');
@@ -95,4 +95,4 @@ export async function $lookupNodeLocation(): Promise<void> {
} catch (e) {
logger.err('$lookupNodeLocation() error: ' + (e instanceof Error ? e.message : e));
}
}
}