1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2025-01-10 23:29:53 +02:00

Add ContentSummary to HDBits requests

This commit is contained in:
Bogdan 2023-06-20 07:43:27 +03:00 committed by Mark McDowall
parent aa2b003167
commit b6f3bcb309

View File

@ -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<IndexerRequest> GetRequest(TorrentQuery query)
query.Passkey = Settings.ApiKey;
request.SetContent(query.ToJson());
request.ContentSummary = query.ToJson(Formatting.None);
yield return new IndexerRequest(request);
}