From 6a4999f48f0fbb48e0ef3ec5779fc51015dd78eb Mon Sep 17 00:00:00 2001 From: austnv Date: Fri, 26 Jun 2026 13:22:39 +0300 Subject: [PATCH] fix: UUID -> str (.hex property) --- routers/hosts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routers/hosts.py b/routers/hosts.py index 6f170ab..e232a1a 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])).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