Skip to content

Commit

Permalink
reverted
Browse files Browse the repository at this point in the history
  • Loading branch information
Afischbacher committed Jan 24, 2024
1 parent c8bf99c commit 88fd723
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ namespace Nhl.Api.Models.Enumerations.Player;
public static class PlayerEnumFileGeneratorHelper
{
private static readonly INhlApiHttpClient _nhlApiHttpClient = new NhlEApiHttpClient();

/// <summary>
/// Retrieves all NHL players to have player in the NHL
/// </summary>
Expand All @@ -26,7 +27,6 @@ public static void GetAllPlayers(string path)

var playerSearchResultsTasks = new List<Task<PlayerData>>();
var players = new Dictionary<int, string>();
_nhlApiHttpClient.HttpClient.Timeout = TimeSpan.FromSeconds(90);
var response = _nhlApiHttpClient.GetAsync<PlayerData>($"/players?start={startCount}").Result;
var total = response.Total;

Expand Down

0 comments on commit 88fd723

Please sign in to comment.