mirror of
https://github.com/Readarr/Readarr
synced 2026-05-08 12:42:51 +02: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]
|
[RestDeleteById]
|
||||||
public void DeleteProvider(int id)
|
public object DeleteProvider(int id)
|
||||||
{
|
{
|
||||||
_providerFactory.Delete(id);
|
_providerFactory.Delete(id);
|
||||||
|
return new object();
|
||||||
}
|
}
|
||||||
|
|
||||||
[HttpGet("schema")]
|
[HttpGet("schema")]
|
||||||
Loading…
Reference in a new issue