Skip to content

Commit

Permalink
Increase timeout, update player handling, and cleaned up code
Browse files Browse the repository at this point in the history
Added System.Net.Http namespace for HTTP functionality.
Increased timeout in NhlScoresHtmlReportsApiHttpClient constructor from 30s to 60s.
Improved player name handling in PlayerEnumFileGeneratorHelper.
Added using directives in GameCenterLanding.cs.
Removed ThreeStars property from Summary class in GameCenterLanding.cs.
Made several string properties nullable in ThreeStar class.
Removed redundant closing brace in GameTests.cs.
Updated PlayerEnumFileGeneratorHelper_Returns_Valid_Content test method in PlayerTests.cs.
  • Loading branch information
Afischbacher committed Aug 6, 2024
1 parent 0177a8f commit 459c3d0
Showing 7 changed files with 113,528 additions and 23,191 deletions.
4 changes: 2 additions & 2 deletions Nhl.Api.Common/Http/NhlScoresHtmlReportsApiHttpClient.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System;
using System;
using System.Net.Http;

namespace Nhl.Api.Common.Http;
@@ -19,7 +19,7 @@ public class NhlScoresHtmlReportsApiHttpClient : NhlApiHttpClient
/// <summary>
/// The dedicated NHL endpoint for HTML reports
/// </summary>
public NhlScoresHtmlReportsApiHttpClient() : base(clientApiUri: ClientApiUrl, clientVersion: string.Empty, timeoutInSeconds: 30)
public NhlScoresHtmlReportsApiHttpClient() : base(clientApiUri: ClientApiUrl, clientVersion: string.Empty, timeoutInSeconds: 60)
{

}
Loading

0 comments on commit 459c3d0

Please sign in to comment.