mirror of
https://github.com/Readarr/Readarr
synced 2025-12-28 03:09:38 +01:00
Fix bulk queue and blacklisk endpoints
This commit is contained in:
parent
4a7b14fa39
commit
146fe04cce
2 changed files with 2 additions and 1 deletions
|
|
@ -146,6 +146,7 @@ export const actionHandlers = handleThunks({
|
|||
url: '/blacklist/bulk',
|
||||
method: 'DELETE',
|
||||
dataType: 'json',
|
||||
contentType: 'application/json',
|
||||
data: JSON.stringify({ ids })
|
||||
}).request;
|
||||
|
||||
|
|
|
|||
|
|
@ -69,7 +69,7 @@ public void RemoveAction(int id, bool removeFromClient = true, bool blacklist =
|
|||
}
|
||||
}
|
||||
|
||||
[HttpDelete]
|
||||
[HttpDelete("bulk")]
|
||||
public object RemoveMany([FromBody] QueueBulkResource resource, [FromQuery] bool removeFromClient = true, [FromQuery] bool blacklist = false, [FromQuery] bool skipReDownload = false)
|
||||
{
|
||||
var trackedDownloadIds = new List<string>();
|
||||
|
|
|
|||
Loading…
Reference in a new issue