From 7e47c56015fef894e8e70bd65479f2fe17614fac Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 22 Nov 2023 14:27:55 +0500 Subject: [PATCH] Bump Microsoft.Extensions.Hosting from 7.0.1 to 8.0.0 (#187) Bumps [Microsoft.Extensions.Hosting](https://github.com/dotnet/runtime) from 7.0.1 to 8.0.0. Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Octol1ttle --- Octobot.csproj | 2 +- src/Services/GuildDataService.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Octobot.csproj b/Octobot.csproj index 3abe2d6..92f4755 100644 --- a/Octobot.csproj +++ b/Octobot.csproj @@ -23,7 +23,7 @@ - + diff --git a/src/Services/GuildDataService.cs b/src/Services/GuildDataService.cs index 78203b5..d76fffc 100644 --- a/src/Services/GuildDataService.cs +++ b/src/Services/GuildDataService.cs @@ -100,7 +100,7 @@ public sealed class GuildDataService : IHostedService JsonNode? jsonSettings = null; try { - jsonSettings = JsonNode.Parse(settingsStream); + jsonSettings = await JsonNode.ParseAsync(settingsStream, cancellationToken: ct); } catch (Exception e) {