mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
Fixed: Issue saving notifications
This commit is contained in:
21
src/NzbDrone.Integration.Test/Client/NotificationClient.cs
Normal file
21
src/NzbDrone.Integration.Test/Client/NotificationClient.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
using System.Collections.Generic;
|
||||
using NzbDrone.Api.Indexers;
|
||||
using NzbDrone.Api.Notifications;
|
||||
using RestSharp;
|
||||
|
||||
namespace NzbDrone.Integration.Test.Client
|
||||
{
|
||||
public class NotificationClient : ClientBase<NotificationResource>
|
||||
{
|
||||
public NotificationClient(IRestClient restClient, string apiKey)
|
||||
: base(restClient, apiKey)
|
||||
{
|
||||
}
|
||||
|
||||
public List<NotificationResource> Schema()
|
||||
{
|
||||
var request = BuildRequest("/schema");
|
||||
return Get<List<NotificationResource>>(request);
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user