diff --git a/src/Peloton/AnnualChallenge/AnnualChallengeService.cs b/src/Peloton/AnnualChallenge/AnnualChallengeService.cs index 11fc44953..162f6719e 100644 --- a/src/Peloton/AnnualChallenge/AnnualChallengeService.cs +++ b/src/Peloton/AnnualChallenge/AnnualChallengeService.cs @@ -12,7 +12,7 @@ public interface IAnnualChallengeService public class AnnualChallengeService : IAnnualChallengeService { - private const string AnnualChallengeId = "66863eacd9d04447979d5dba7bf0e766"; + private const string AnnualChallengeId = "5101dfaa50d441d682a432acd313c706"; private IPelotonApi _pelotonApi; @@ -30,7 +30,7 @@ public async Task> GetAnnualChallengeProg if (joinedChallenges == null || joinedChallenges.Challenges.Length <= 0) return result; - var annualChallenge = joinedChallenges.Challenges.FirstOrDefault(c => c.Challenge_Summary.Id == AnnualChallengeId || c.Challenge_Summary.Title == "The Annual 2023"); + var annualChallenge = joinedChallenges.Challenges.FirstOrDefault(c => c.Challenge_Summary.Id == AnnualChallengeId || c.Challenge_Summary.Title.StartsWith("The Annual")); if (annualChallenge is null) return result; diff --git a/src/SharedUI/Pages/AnnualChallengeProgress.razor b/src/SharedUI/Pages/AnnualChallengeProgress.razor index a294bc1e9..0478b0c37 100644 --- a/src/SharedUI/Pages/AnnualChallengeProgress.razor +++ b/src/SharedUI/Pages/AnnualChallengeProgress.razor @@ -37,7 +37,7 @@ @if (!loading && !annualProgress.Tiers.Any()) { - Looks like you haven't signed up for the Peloton Annual 2023 Challenge yet. Join the challenge on Peloton then check back here! + Looks like you haven't signed up for the Peloton Annual Challenge yet. Join the challenge on Peloton then check back here! } diff --git a/vNextReleaseNotes.md b/vNextReleaseNotes.md index 66890a9ce..76f60d91a 100644 --- a/vNextReleaseNotes.md +++ b/vNextReleaseNotes.md @@ -10,6 +10,7 @@ - [#581] Fix broken Documentation link in UI - [#580] Console Client couldn't load configuration file correctly (introduced by #564) +- [#588] Fix Annual Challenge page still trying to load 2023 ## Docs