Skip to content

Commit

Permalink
Fix the Uri for GetPlayerBuilderBaseRankingAsync
Browse files Browse the repository at this point in the history
  • Loading branch information
tparviainen committed Jun 6, 2023
1 parent a1eff17 commit 32c2bba
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion build/version.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Patch: Backwards compatible bug fixes only
# -Suffix (optional): a hyphen followed by a string denoting a pre-release version (rc1, rc2, etc.)

8.8.0-rc2
8.8.0-rc3
2 changes: 1 addition & 1 deletion src/ClashOfClans/Api/Locations.cs
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ public Task<QueryResult<PlayerBuilderBaseRankingList>> GetPlayerBuilderBaseRanki
{
Query = query,
LocationId = locationId,
Uri = $"/locations/{locationId}/rankings/players-versus"
Uri = $"/locations/{locationId}/rankings/players-builder-base"
};

return _gameData.QueryAsync<PlayerBuilderBaseRankingList>(request);
Expand Down
4 changes: 2 additions & 2 deletions src/ClashOfClans/ILocations.cs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public interface ILocations
/// <exception cref="Core.ClashOfClansException">Communication error with the backend API</exception>
/// <exception cref="System.ArgumentException">Argument is invalid</exception>
/// <returns>Clan ranking list</returns>
[Obsolete("This route is deprecated and will be removed in the future.")]
[Obsolete("This route is deprecated and will be removed in the future. Call GetClanBuilderBaseRankingAsync instead.")]
Task<QueryResult<ClanVersusRankingList>> GetClanVersusRankingAsync(int? locationId, Query? query = default);

/// <summary>
Expand All @@ -67,7 +67,7 @@ public interface ILocations
/// <exception cref="Core.ClashOfClansException">Communication error with the backend API</exception>
/// <exception cref="System.ArgumentException">Argument is invalid</exception>
/// <returns>Player versus ranking list</returns>
[Obsolete("This route is deprecated and will be removed in the future.")]
[Obsolete("This route is deprecated and will be removed in the future. Call GetPlayerBuilderBaseRankingAsync instead.")]
Task<QueryResult<PlayerVersusRankingList>> GetPlayerVersusRankingAsync(int? locationId, Query? query = default);

/// <summary>
Expand Down

0 comments on commit 32c2bba

Please sign in to comment.