Fix bulk queue and blacklisk endpoints

pull/1017/head
ta264 3 years ago
parent 4a7b14fa39
commit 146fe04cce

@ -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 @@ namespace Readarr.Api.V1.Queue
}
}
[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…
Cancel
Save