Skip to content

Commit cd164f6

Browse files
author
ComputerElite
committed
fix geolocation ig
1 parent 1ed6ea4 commit cd164f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

GeoLocation.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public static GeoLocationQueryResponse GetGeoLocation(string ip)
5757

5858
public static AnonymisedGeoLocationQueryResponse GetAnonymisedGeoLocation(string ip)
5959
{
60-
return (AnonymisedGeoLocationQueryResponse)GetGeoLocation(ip);
60+
return (AnonymisedGeoLocationQueryResponse)GetGeoLocation(ip.Split(',')[0]);
6161
}
6262
}
6363
}

0 commit comments

Comments
 (0)