mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
New: Use System.Text.Json for Nancy and SignalR
Co-Authored-By: ta264 <ta264@users.noreply.github.com>
This commit is contained in:
@@ -18,6 +18,7 @@ using Prowlarr.Api.V1.Config;
|
||||
using Prowlarr.Api.V1.History;
|
||||
using Prowlarr.Api.V1.Tags;
|
||||
using RestSharp;
|
||||
using RestSharp.Serializers.SystemTextJson;
|
||||
|
||||
namespace NzbDrone.Integration.Test
|
||||
{
|
||||
@@ -79,6 +80,7 @@ namespace NzbDrone.Integration.Test
|
||||
RestClient = new RestClient(RootUrl + "api/v1/");
|
||||
RestClient.AddDefaultHeader("Authentication", ApiKey);
|
||||
RestClient.AddDefaultHeader("X-Api-Key", ApiKey);
|
||||
RestClient.UseSystemTextJson();
|
||||
|
||||
Commands = new CommandClient(RestClient, ApiKey);
|
||||
History = new ClientBase<HistoryResource>(RestClient, ApiKey);
|
||||
|
Reference in New Issue
Block a user