Skip to content

Commit

Permalink
Update Nhl.Api/Src/LeagueApi/NhlLeagueApi.cs
Browse files Browse the repository at this point in the history
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
  • Loading branch information
Afischbacher and coderabbitai[bot] authored Mar 8, 2025
1 parent afd8f30 commit 2b506c6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Nhl.Api/Src/LeagueApi/NhlLeagueApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -627,8 +627,7 @@ public async Task<PlayoffSeriesSchedule> GetPlayoffSeriesBySeasonYearAsync(strin
throw new ArgumentException("The season year must be in the eight digit format, Example: 20232024");
}


return await _nhlWebApiHttpClient.GetAsync<PlayoffSeriesSchedule>("/playoff-series/carousel/20232024", cancellationToken);
return await _nhlWebApiHttpClient.GetAsync<PlayoffSeriesSchedule>($"/playoff-series/carousel/{seasonYear}", cancellationToken);
}

}

0 comments on commit 2b506c6

Please sign in to comment.