Fix geolocation country code assignment in server registration data
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user