Fixed: Workaround net6 object serialization issues

Co-Authored-By: ta264 <ta264@users.noreply.github.com>
pull/654/head
Qstick 3 years ago
parent b5a2f68bde
commit 89510c4a65

@ -14,7 +14,6 @@ function createRemoveItemHandler(section, url) {
const ajaxOptions = {
url: `${url}/${id}?${$.param(queryParams, true)}`,
dataType: 'text',
method: 'DELETE'
};

@ -76,7 +76,7 @@ namespace Prowlarr.Api.V1.Indexers
{
_indexerService.DeleteIndexers(resource.IndexerIds);
return new object();
return new { };
}
}
}

@ -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")]

Loading…
Cancel
Save