Skip to content

Commit

Permalink
Merge branch 'develop' of https://github.com/Afischbacher/Nhl.Api int…
Browse files Browse the repository at this point in the history
…o develop
  • Loading branch information
Afischbacher committed Sep 22, 2024
2 parents 4f97959 + 2502ea7 commit 8c1f8a4
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Nhl.Api.Domain/Services/NhlTeamService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,10 @@ public List<string> GetTeamCodeIdentifierByTeamEnumerations(List<TeamEnum> teamE
TeamNames.VegasGoldenKnights => TeamCodes.VegasGoldenKnights,
TeamNames.WashingtonCapitals => TeamCodes.WashingtonCapitals,
TeamNames.WinnipegJets => TeamCodes.WinnipegJets,

Check failure on line 264 in Nhl.Api.Domain/Services/NhlTeamService.cs

View workflow job for this annotation

GitHub Actions / build

} expected

Check failure on line 264 in Nhl.Api.Domain/Services/NhlTeamService.cs

View workflow job for this annotation

GitHub Actions / build

; expected

Check failure on line 264 in Nhl.Api.Domain/Services/NhlTeamService.cs

View workflow job for this annotation

GitHub Actions / build

} expected

Check failure on line 264 in Nhl.Api.Domain/Services/NhlTeamService.cs

View workflow job for this annotation

GitHub Actions / build

; expected
TeamNames.UtahHockeyClub => TeamCodes.UtahHockeyClub,
_ => throw new ArgumentException($"Unknown NHL team: {teamName}", nameof(teamName)),
public string? GetTeamCodeIdentifierByTeamName(string teamName) => teamName.ReplaceNonAsciiWithAscii() switch
{
TeamNames.UtahHockeyClub => TeamCodes.UtahHockeyClub,
_ => null,
};
};
}

Check failure on line 271 in Nhl.Api.Domain/Services/NhlTeamService.cs

View workflow job for this annotation

GitHub Actions / build

Type or namespace definition, or end-of-file expected

Check failure on line 271 in Nhl.Api.Domain/Services/NhlTeamService.cs

View workflow job for this annotation

GitHub Actions / build

Type or namespace definition, or end-of-file expected

0 comments on commit 8c1f8a4

Please sign in to comment.