mirror of
https://github.com/Radarr/Radarr
synced 2024-12-27 10:19:41 +00:00
182192e0ba
they can be triggered using the api api/command/
13 lines
No EOL
283 B
C#
13 lines
No EOL
283 B
C#
using Nancy;
|
|
|
|
namespace NzbDrone.Api
|
|
{
|
|
public abstract class NzbDroneApiModule : NancyModule
|
|
{
|
|
protected NzbDroneApiModule(string resource)
|
|
: base("/api/" + resource.Trim('/'))
|
|
{
|
|
Options["/"] = x => new Response();
|
|
}
|
|
}
|
|
} |