mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
Fixed: Don't append every MovieId to Delete as a URL Parameter
Fixes #4186 Fixes #4188
This commit is contained in:
@@ -413,18 +413,13 @@ export const actionHandlers = handleThunks({
|
||||
},
|
||||
|
||||
[BULK_DELETE_MOVIE]: function(getState, payload, dispatch) {
|
||||
const {
|
||||
id,
|
||||
...queryParams
|
||||
} = payload;
|
||||
|
||||
dispatch(set({
|
||||
section,
|
||||
isDeleting: true
|
||||
}));
|
||||
|
||||
const promise = createAjaxRequest({
|
||||
url: `/movie/editor?${$.param(queryParams, true)}`,
|
||||
url: '/movie/editor',
|
||||
method: 'DELETE',
|
||||
data: JSON.stringify(payload),
|
||||
dataType: 'json'
|
||||
|
Reference in New Issue
Block a user