mirror of
https://github.com/Radarr/Radarr
synced 2025-02-22 22:31:26 +00:00
Add ContentSummary to HDBits requests
(cherry picked from commit b6f3bcb3093267c483a57e10ac425e871f1f7ba8) Closes #8757
This commit is contained in:
parent
7cfff20cad
commit
3da72f54ef
1 changed files with 2 additions and 0 deletions
|
@ -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<IndexerRequest> GetRequest(TorrentQuery query)
|
|||
query.Medium = Settings.Mediums.ToArray();
|
||||
|
||||
request.SetContent(query.ToJson());
|
||||
request.ContentSummary = query.ToJson(Formatting.None);
|
||||
|
||||
yield return new IndexerRequest(request);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue