Skip to content

Commit 2b506c6

Browse files
Update Nhl.Api/Src/LeagueApi/NhlLeagueApi.cs
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
1 parent afd8f30 commit 2b506c6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Nhl.Api/Src/LeagueApi/NhlLeagueApi.cs

+1-2
Original file line numberDiff line numberDiff line change
@@ -627,8 +627,7 @@ public async Task<PlayoffSeriesSchedule> GetPlayoffSeriesBySeasonYearAsync(strin
627627
throw new ArgumentException("The season year must be in the eight digit format, Example: 20232024");
628628
}
629629

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

634633
}

0 commit comments

Comments
 (0)