mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-21 22:04:31 -04:00
New: Use System.Text.Json for Nancy and SignalR
This commit is contained in:
@@ -28,6 +28,7 @@ using Readarr.Api.V1.Profiles.Quality;
|
||||
using Readarr.Api.V1.RootFolders;
|
||||
using Readarr.Api.V1.Tags;
|
||||
using RestSharp;
|
||||
using RestSharp.Serializers.SystemTextJson;
|
||||
|
||||
namespace NzbDrone.Integration.Test
|
||||
{
|
||||
@@ -98,6 +99,7 @@ namespace NzbDrone.Integration.Test
|
||||
RestClient = new RestClient(RootUrl + "api/v1/");
|
||||
RestClient.AddDefaultHeader("Authentication", ApiKey);
|
||||
RestClient.AddDefaultHeader("X-Api-Key", ApiKey);
|
||||
RestClient.UseSystemTextJson();
|
||||
|
||||
Blacklist = new ClientBase<BlacklistResource>(RestClient, ApiKey);
|
||||
Commands = new CommandClient(RestClient, ApiKey);
|
||||
|
||||
Reference in New Issue
Block a user