We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent afd8f30 commit 2b506c6Copy full SHA for 2b506c6
Nhl.Api/Src/LeagueApi/NhlLeagueApi.cs
@@ -627,8 +627,7 @@ public async Task<PlayoffSeriesSchedule> GetPlayoffSeriesBySeasonYearAsync(strin
627
throw new ArgumentException("The season year must be in the eight digit format, Example: 20232024");
628
}
629
630
-
631
- return await _nhlWebApiHttpClient.GetAsync<PlayoffSeriesSchedule>("/playoff-series/carousel/20232024", cancellationToken);
+ return await _nhlWebApiHttpClient.GetAsync<PlayoffSeriesSchedule>($"/playoff-series/carousel/{seasonYear}", cancellationToken);
632
633
634
0 commit comments