Skip to content

Commit

Permalink
Fix urls and remove unused method
Browse files Browse the repository at this point in the history
  • Loading branch information
xminar1 committed Apr 6, 2024
1 parent 4000415 commit 69195d2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,12 +67,6 @@ public void SetUp()
}


protected static HttpResponseMessage GetMessage(HttpStatusCode statusCode = HttpStatusCode.OK)
{
return GetMessage<object>(statusCode: statusCode);
}


protected static HttpResponseMessage GetMessage<T>(T content = null, HttpStatusCode statusCode = HttpStatusCode.OK)
where T : class
{
Expand Down
4 changes: 2 additions & 2 deletions Kentico.Xperience.GoogleMaps/GoogleMapsConstants.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ public static class GoogleMapsConstants
/// <summary>
/// The URL for the Google Maps Geocode API.
/// </summary>
public const string GEOCODE_API_URL = "https://maps.googleapis.com/maps/api/geocode/json&key={0}&address={1}&components={2}";
public const string GEOCODE_API_URL = "https://maps.googleapis.com/maps/api/geocode/json?key={0}&address={1}&components={2}";


/// <summary>
/// The URL for the Google Maps Address Validation API.
/// </summary>
public const string VALIDATION_API_URL = "https://addressvalidation.googleapis.com/v1:validateAddress&key={0}";
public const string VALIDATION_API_URL = "https://addressvalidation.googleapis.com/v1:validateAddress?key={0}";


/// <summary>
Expand Down

0 comments on commit 69195d2

Please sign in to comment.