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) {