Update JsonExtensions to 1.0.1

pull/448/head
Tyrrrz 4 years ago
parent d72fe594b4
commit 5a62ce6af9

@ -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;
}

@ -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" />

Loading…
Cancel
Save