From d726e4fa0d573fc5066bd74c70b0efc7a91b9f57 Mon Sep 17 00:00:00 2001 From: ImBenji Date: Tue, 5 Aug 2025 15:35:58 +0100 Subject: [PATCH] Fix geolocation country code assignment in server registration data --- lib/services/server_service.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/services/server_service.dart b/lib/services/server_service.dart index 2f46f5d..c899de9 100644 --- a/lib/services/server_service.dart +++ b/lib/services/server_service.dart @@ -23,7 +23,7 @@ class ServerService { "last_heartbeat": DateTime.now().toUtc().toIso8601String(), "host_ip": ip, "geolocation": { - "country_code": geolocationData.continentCode, + "country_code": geolocationData.countryCode, "city": geolocationData.city, "coords": [ geolocationData.latitude,