mirror of
https://github.com/Readarr/Readarr
synced 2025-12-20 15:23:55 +01:00
Fix deleting providers
This commit is contained in:
parent
025cb04035
commit
a6f8391f40
1 changed files with 2 additions and 1 deletions
|
|
@ -100,9 +100,10 @@ private TProviderDefinition GetDefinition(TProviderResource providerResource, bo
|
|||
}
|
||||
|
||||
[RestDeleteById]
|
||||
public void DeleteProvider(int id)
|
||||
public object DeleteProvider(int id)
|
||||
{
|
||||
_providerFactory.Delete(id);
|
||||
return new object();
|
||||
}
|
||||
|
||||
[HttpGet("schema")]
|
||||
Loading…
Reference in a new issue