Skip to content

Commit 1165d04

Browse files
committed
Merge remote-tracking branch 'origin/master'
2 parents 8af38ce + 047ae75 commit 1165d04

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ Step 2. Add the dependency
3535
ipApiService.getGeoIp().enqueue(new Callback<GeoIpResponseModel>() {
3636
@Override
3737
public void onResponse(Call<GeoIpResponseModel> call, retrofit2.Response<GeoIpResponseModel> response) {
38-
String country = response.body().getCountry();
38+
String countryName = response.body().getCountryName();
3939
String city = response.body().getCity();
40-
String countryCode = resopnse.body().getCountryCode();
40+
String country = resopnse.body().getCountry();
4141
double latitude = response.body().getLatitude();
4242
double longtidue = response.body().getLongitude();
4343
String region = response.body().getRegion();

0 commit comments

Comments
 (0)