mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2025-05-27 21:24:12 -04:00
Update JsonExtensions to 1.0.1
This commit is contained in:
parent
d72fe594b4
commit
5a62ce6af9
2 changed files with 3 additions and 3 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue