Fixed: Workaround net6 object serialization issues

Co-Authored-By: ta264 <ta264@users.noreply.github.com>
This commit is contained in:
Qstick
2021-12-01 20:39:26 -06:00
parent b5a2f68bde
commit 89510c4a65
3 changed files with 4 additions and 3 deletions
@@ -102,9 +102,11 @@ namespace Prowlarr.Api.V1
}
[RestDeleteById]
public void DeleteProvider(int id)
public object DeleteProvider(int id)
{
_providerFactory.Delete(id);
return new { };
}
[HttpGet("schema")]