fix: UUID -> str (.hex property)

This commit is contained in:
austnv
2026-06-26 13:22:39 +03:00
parent 2096e8eb52
commit 6a4999f48f
+1 -1
View File
@@ -42,7 +42,7 @@ async def get_nodes():
'name': clean_host_name(host.remark), 'name': clean_host_name(host.remark),
'address': host.address, 'address': host.address,
'port': host.port, 'port': host.port,
'country_code': (await remnawave.nodes.get_one_node(uuid=host.nodes[0])).country_code 'country_code': (await remnawave.nodes.get_one_node(uuid=host.nodes[0].hex)).country_code
} }
for host in hosts.root if not host.is_disabled and not host.is_hidden for host in hosts.root if not host.is_disabled and not host.is_hidden