From 3aa1f582e3a90c7d1ab03c3abaa667c06b7fc9c3 Mon Sep 17 00:00:00 2001 From: austnv Date: Fri, 26 Jun 2026 13:26:58 +0300 Subject: [PATCH] fix: .hex -> str() --- routers/hosts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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