Skip to content

Commit

Permalink
Use collection expressions
Browse files Browse the repository at this point in the history
  • Loading branch information
oschwald committed Nov 21, 2024
1 parent dd0c8fe commit 724b029
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MaxMind.MinFraud/WebServiceClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ internal WebServiceClient(
HttpClient httpClient
)
{
_locales = locales == null ? new List<string> { "en" } : new List<string>(locales);
_locales = locales == null ? ["en"] : [..locales];

httpClient.BaseAddress = new UriBuilder("https", host, -1, BasePath).Uri;

Expand Down

0 comments on commit 724b029

Please sign in to comment.