mirror of
https://github.com/Jackett/Jackett.git
synced 2025-12-22 14:16:59 +01:00
core: bump C# language version (#15469)
This commit is contained in:
@@ -192,7 +192,7 @@ namespace Jackett.Common.Utils.Clients
|
||||
var body = "";
|
||||
var bodySize = 0;
|
||||
var isBinary = false;
|
||||
if (result.ContentBytes != null && result.ContentBytes.Length > 0)
|
||||
if (result.ContentBytes is { Length: > 0 })
|
||||
{
|
||||
bodySize = result.ContentBytes.Length;
|
||||
var contentString = result.ContentString.Trim();
|
||||
|
||||
Reference in New Issue
Block a user