mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
Fixed: Workaround net6 object serialization issues
Co-Authored-By: ta264 <ta264@users.noreply.github.com>
This commit is contained in:
@@ -14,7 +14,6 @@ function createRemoveItemHandler(section, url) {
|
|||||||
|
|
||||||
const ajaxOptions = {
|
const ajaxOptions = {
|
||||||
url: `${url}/${id}?${$.param(queryParams, true)}`,
|
url: `${url}/${id}?${$.param(queryParams, true)}`,
|
||||||
dataType: 'text',
|
|
||||||
method: 'DELETE'
|
method: 'DELETE'
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -76,7 +76,7 @@ namespace Prowlarr.Api.V1.Indexers
|
|||||||
{
|
{
|
||||||
_indexerService.DeleteIndexers(resource.IndexerIds);
|
_indexerService.DeleteIndexers(resource.IndexerIds);
|
||||||
|
|
||||||
return new object();
|
return new { };
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -102,9 +102,11 @@ namespace Prowlarr.Api.V1
|
|||||||
}
|
}
|
||||||
|
|
||||||
[RestDeleteById]
|
[RestDeleteById]
|
||||||
public void DeleteProvider(int id)
|
public object DeleteProvider(int id)
|
||||||
{
|
{
|
||||||
_providerFactory.Delete(id);
|
_providerFactory.Delete(id);
|
||||||
|
|
||||||
|
return new { };
|
||||||
}
|
}
|
||||||
|
|
||||||
[HttpGet("schema")]
|
[HttpGet("schema")]
|
||||||
|
Reference in New Issue
Block a user