1
0
Fork 0
mirror of https://github.com/Sonarr/Sonarr synced 2025-01-03 05:35:29 +00: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 @@ namespace NzbDrone.Core.Indexers.HDBits
query.Passkey = Settings.ApiKey;
request.SetContent(query.ToJson());
request.ContentSummary = query.ToJson(Formatting.None);
yield return new IndexerRequest(request);
}