From 3da72f54ef0649e5d42db8c2dad58211e44f9f48 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 (cherry picked from commit b6f3bcb3093267c483a57e10ac425e871f1f7ba8) Closes #8757 --- 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 e53084f2c..e12d3c0a8 100644 --- a/src/NzbDrone.Core/Indexers/HDBits/HDBitsRequestGenerator.cs +++ b/src/NzbDrone.Core/Indexers/HDBits/HDBitsRequestGenerator.cs @@ -2,6 +2,7 @@ using System.Collections.Generic; using System.Linq; using System.Net.Http; +using Newtonsoft.Json; using NzbDrone.Common.Extensions; using NzbDrone.Common.Http; using NzbDrone.Common.Serializer; @@ -74,6 +75,7 @@ private IEnumerable GetRequest(TorrentQuery query) query.Medium = Settings.Mediums.ToArray(); request.SetContent(query.ToJson()); + request.ContentSummary = query.ToJson(Formatting.None); yield return new IndexerRequest(request); }