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
1 changed files with 2 additions and 0 deletions

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);
}