Added debug in hosts geomap rest (#9377)

This commit is contained in:
GabrieleDeri 2025-07-13 21:53:48 +02:00 committed by GitHub
parent 3c60353ca3
commit 41deb8fb9b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -113,7 +113,10 @@ local function show_hosts(hosts_count, host_key, hosts_category)
if value["latitude"] ~= 0 or value["longitude"] ~= 0 then
local country = value["country"]
tprint("Country: " .. country)
local country_info = country_code.get_country_info(country)
tprint(country_info)
tprint("----------")
local iso3_country = country_info[1]
local country_id = country_info[2]