Add geolocation coordinates to server registration data
This commit is contained in:
@@ -25,6 +25,10 @@ class ServerService {
|
|||||||
"geolocation": {
|
"geolocation": {
|
||||||
"country_code": geolocationData.continentCode,
|
"country_code": geolocationData.continentCode,
|
||||||
"city": geolocationData.city,
|
"city": geolocationData.city,
|
||||||
|
"coords": [
|
||||||
|
geolocationData.latitude,
|
||||||
|
geolocationData.longitude
|
||||||
|
],
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user