Skip to content

Commit

Permalink
Add ContentSummary to HDBits requests
Browse files Browse the repository at this point in the history
  • Loading branch information
mynameisbogdan committed Jun 27, 2023
1 parent 34cd68f commit e55d6b8
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
using System.Globalization;
using System.Linq;
using System.Net.Http;
using Newtonsoft.Json;
using NzbDrone.Common.Extensions;
using NzbDrone.Common.Http;
using NzbDrone.Common.Serializer;
Expand Down Expand Up @@ -64,6 +65,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);
}
Expand Down

0 comments on commit e55d6b8

Please sign in to comment.