This commit is contained in:
+1
-1
@@ -42,7 +42,7 @@ async def get_nodes():
|
||||
'name': clean_host_name(host.remark),
|
||||
'address': host.address,
|
||||
'port': host.port,
|
||||
'country_code': (await remnawave.nodes.get_one_node(uuid=host.nodes[0].hex)).country_code
|
||||
'country_code': (await remnawave.nodes.get_one_node(uuid=str(host.nodes[0]))).country_code
|
||||
}
|
||||
|
||||
for host in hosts.root if not host.is_disabled and not host.is_hidden
|
||||
|
||||
Reference in New Issue
Block a user