Add ContentSummary to HDBits requests
This commit is contained in:
parent
aa2b003167
commit
b6f3bcb309
|
@ -1,6 +1,7 @@
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Net.Http;
|
using System.Net.Http;
|
||||||
|
using Newtonsoft.Json;
|
||||||
using NzbDrone.Common.Http;
|
using NzbDrone.Common.Http;
|
||||||
using NzbDrone.Common.Serializer;
|
using NzbDrone.Common.Serializer;
|
||||||
using NzbDrone.Core.IndexerSearch.Definitions;
|
using NzbDrone.Core.IndexerSearch.Definitions;
|
||||||
|
@ -142,6 +143,7 @@ namespace NzbDrone.Core.Indexers.HDBits
|
||||||
query.Passkey = Settings.ApiKey;
|
query.Passkey = Settings.ApiKey;
|
||||||
|
|
||||||
request.SetContent(query.ToJson());
|
request.SetContent(query.ToJson());
|
||||||
|
request.ContentSummary = query.ToJson(Formatting.None);
|
||||||
|
|
||||||
yield return new IndexerRequest(request);
|
yield return new IndexerRequest(request);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue