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] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Octol1ttle <l1ttleofficial@outlook.com>
This commit is contained in:
dependabot[bot] 2023-11-22 14:27:55 +05:00 committed by GitHub
parent c09d26fd6f
commit 7e47c56015
Signed by: GitHub
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -23,7 +23,7 @@
<PackageReference Include="Humanizer.Core.ru" Version="2.14.1" /> <PackageReference Include="Humanizer.Core.ru" Version="2.14.1" />
<PackageReference Include="JetBrains.Annotations" Version="2023.3.0" /> <PackageReference Include="JetBrains.Annotations" Version="2023.3.0" />
<PackageReference Include="Microsoft.CodeAnalysis.BannedApiAnalyzers" Version="3.3.4" /> <PackageReference Include="Microsoft.CodeAnalysis.BannedApiAnalyzers" Version="3.3.4" />
<PackageReference Include="Microsoft.Extensions.Hosting" Version="7.0.1" /> <PackageReference Include="Microsoft.Extensions.Hosting" Version="8.0.0" />
<PackageReference Include="Remora.Discord.Caching" Version="37.0.0" /> <PackageReference Include="Remora.Discord.Caching" Version="37.0.0" />
<PackageReference Include="Remora.Discord.Extensions" Version="5.3.2" /> <PackageReference Include="Remora.Discord.Extensions" Version="5.3.2" />
<PackageReference Include="Remora.Discord.Hosting" Version="6.0.7" /> <PackageReference Include="Remora.Discord.Hosting" Version="6.0.7" />

View file

@ -100,7 +100,7 @@ public sealed class GuildDataService : IHostedService
JsonNode? jsonSettings = null; JsonNode? jsonSettings = null;
try try
{ {
jsonSettings = JsonNode.Parse(settingsStream); jsonSettings = await JsonNode.ParseAsync(settingsStream, cancellationToken: ct);
} }
catch (Exception e) catch (Exception e)
{ {