Update JsonExtensions to 1.0.1

This commit is contained in:
Tyrrrz 2020-11-29 00:42:05 +02:00
parent d72fe594b4
commit 5a62ce6af9
2 changed files with 3 additions and 3 deletions

View file

@ -54,7 +54,7 @@ namespace DiscordChatExporter.Domain.Discord
};
}
return await response.Content.ReadAsJsonAsync(default);
return await response.Content.ReadAsJsonAsync();
}
private async ValueTask<JsonElement?> TryGetJsonResponseAsync(string url)
@ -62,7 +62,7 @@ namespace DiscordChatExporter.Domain.Discord
using var response = await GetResponseAsync(url);
return response.IsSuccessStatusCode
? await response.Content.ReadAsJsonAsync(default)
? await response.Content.ReadAsJsonAsync()
: (JsonElement?) null;
}

View file

@ -2,7 +2,7 @@
<Import Project="../DiscordChatExporter.props" />
<ItemGroup>
<PackageReference Include="JsonExtensions" Version="1.0.0" />
<PackageReference Include="JsonExtensions" Version="1.0.1" />
<PackageReference Include="MiniRazor" Version="1.1.0" />
<PackageReference Include="Polly" Version="7.2.1" />
<PackageReference Include="Tyrrrz.Extensions" Version="1.6.5" />