diff --git a/routers/hosts.py b/routers/hosts.py index e232a1a..3af936d 100644 --- a/routers/hosts.py +++ b/routers/hosts.py @@ -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