From 32c2bba108b2f75eb22e7ba12116e80071069194 Mon Sep 17 00:00:00 2001 From: Tomi Parviainen Date: Tue, 6 Jun 2023 18:43:51 +0300 Subject: [PATCH] Fix the Uri for GetPlayerBuilderBaseRankingAsync --- build/version.txt | 2 +- src/ClashOfClans/Api/Locations.cs | 2 +- src/ClashOfClans/ILocations.cs | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/build/version.txt b/build/version.txt index aa8daec7..dc4cb7d4 100644 --- a/build/version.txt +++ b/build/version.txt @@ -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 diff --git a/src/ClashOfClans/Api/Locations.cs b/src/ClashOfClans/Api/Locations.cs index 42b0589d..d52437ec 100644 --- a/src/ClashOfClans/Api/Locations.cs +++ b/src/ClashOfClans/Api/Locations.cs @@ -102,7 +102,7 @@ public Task> GetPlayerBuilderBaseRanki { Query = query, LocationId = locationId, - Uri = $"/locations/{locationId}/rankings/players-versus" + Uri = $"/locations/{locationId}/rankings/players-builder-base" }; return _gameData.QueryAsync(request); diff --git a/src/ClashOfClans/ILocations.cs b/src/ClashOfClans/ILocations.cs index f21ccc7a..4b0005fd 100644 --- a/src/ClashOfClans/ILocations.cs +++ b/src/ClashOfClans/ILocations.cs @@ -56,7 +56,7 @@ public interface ILocations /// Communication error with the backend API /// Argument is invalid /// Clan ranking list - [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> GetClanVersusRankingAsync(int? locationId, Query? query = default); /// @@ -67,7 +67,7 @@ public interface ILocations /// Communication error with the backend API /// Argument is invalid /// Player versus ranking list - [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> GetPlayerVersusRankingAsync(int? locationId, Query? query = default); ///