Skip to content

Commit

Permalink
Remove using
Browse files Browse the repository at this point in the history
  • Loading branch information
NixFey committed Jul 25, 2024
1 parent 71787d4 commit 199d5b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion FiMAdminApi/Clients/FrcEventsDataClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ private async Task<IEnumerable<Event>> GetAndParseEvents(Season season, string?
var resp = await _httpClient.SendAsync(BuildGetRequest($"{GetSeason(season)}/events", queryParams));
resp.EnsureSuccessStatusCode();

using var json = await JsonDocument.ParseAsync(await resp.Content.ReadAsStreamAsync());
var json = await JsonDocument.ParseAsync(await resp.Content.ReadAsStreamAsync());
return json.RootElement.GetProperty("Events").EnumerateArray().Select(evt =>
{
var timeZone = NormalizeTimeZone(evt.GetProperty("timezone").GetString());
Expand Down

0 comments on commit 199d5b6

Please sign in to comment.