mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 13:33:34 -07:00
Fixed up Eloquera integration, working much better now.
This commit is contained in:
parent
8c99cca207
commit
ace7910f2a
11 changed files with 70 additions and 30 deletions
|
@ -18,7 +18,7 @@ namespace NzbDrone.Api.RootFolders
|
|||
|
||||
Get["/"] = x => GetRootFolders();
|
||||
Post["/"] = x => AddRootFolder();
|
||||
Delete["/{id}"] = x => DeleteRootFolder((int)x.id);
|
||||
Delete["/{id}"] = x => DeleteRootFolder((long)x.id);
|
||||
}
|
||||
|
||||
private Response AddRootFolder()
|
||||
|
@ -32,7 +32,7 @@ namespace NzbDrone.Api.RootFolders
|
|||
return _rootFolderService.All().AsResponse();
|
||||
}
|
||||
|
||||
private Response DeleteRootFolder(int folderId)
|
||||
private Response DeleteRootFolder(long folderId)
|
||||
{
|
||||
_rootFolderService.Remove(folderId);
|
||||
return new Response { StatusCode = HttpStatusCode.OK };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue