mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-01 06:00:46 +00:00
Unify WebBrowser API in regards to nullable bodies (#2593)
* Unify logic for nullable bodies * Update ArchiWebHandler.cs * Misc
This commit is contained in:
committed by
GitHub
parent
d82df0074f
commit
715ed034df
@@ -41,7 +41,7 @@ internal static class CatAPI {
|
||||
|
||||
ObjectResponse<MeowResponse>? response = await webBrowser.UrlGetToJsonObject<MeowResponse>(request).ConfigureAwait(false);
|
||||
|
||||
if (response == null) {
|
||||
if (response?.Content == null) {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user