mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-21 22:04:31 -04:00
Workaround .net error serializing new object()
See https://github.com/dotnet/runtime/issues/61995
This commit is contained in:
@@ -102,9 +102,10 @@ namespace Readarr.Api.V1
|
||||
}
|
||||
|
||||
[RestDeleteById]
|
||||
public void DeleteProvider(int id)
|
||||
public object DeleteProvider(int id)
|
||||
{
|
||||
_providerFactory.Delete(id);
|
||||
return new { };
|
||||
}
|
||||
|
||||
[HttpGet("schema")]
|
||||
|
||||
Reference in New Issue
Block a user