From b6f3bcb3093267c483a57e10ac425e871f1f7ba8 Mon Sep 17 00:00:00 2001 From: Bogdan Date: Tue, 20 Jun 2023 07:43:27 +0300 Subject: [PATCH] Add ContentSummary to HDBits requests --- src/NzbDrone.Core/Indexers/HDBits/HDBitsRequestGenerator.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/NzbDrone.Core/Indexers/HDBits/HDBitsRequestGenerator.cs b/src/NzbDrone.Core/Indexers/HDBits/HDBitsRequestGenerator.cs index e051b9a7f..1a8d2bc6d 100644 --- a/src/NzbDrone.Core/Indexers/HDBits/HDBitsRequestGenerator.cs +++ b/src/NzbDrone.Core/Indexers/HDBits/HDBitsRequestGenerator.cs @@ -1,6 +1,7 @@ using System.Collections.Generic; using System.Linq; using System.Net.Http; +using Newtonsoft.Json; using NzbDrone.Common.Http; using NzbDrone.Common.Serializer; using NzbDrone.Core.IndexerSearch.Definitions; @@ -142,6 +143,7 @@ private IEnumerable GetRequest(TorrentQuery query) query.Passkey = Settings.ApiKey; request.SetContent(query.ToJson()); + request.ContentSummary = query.ToJson(Formatting.None); yield return new IndexerRequest(request); }