Fixed: Error on bulk delete from queue

This commit is contained in:
ta264
2021-06-10 21:57:53 +01:00
parent 3ab29eee60
commit eb9b9d57ed
3 changed files with 4 additions and 14 deletions
@@ -243,6 +243,7 @@ export const actionHandlers = handleThunks({
url: '/release',
method: 'POST',
contentType: 'application/json',
dataType: 'json',
data: JSON.stringify(payload)
}).request;
@@ -115,6 +115,7 @@ export const actionHandlers = handleThunks({
const promise = createAjaxRequest({
url: '/author',
method: 'POST',
dataType: 'json',
contentType: 'application/json',
data: JSON.stringify(newAuthor)
}).request;
@@ -153,6 +154,7 @@ export const actionHandlers = handleThunks({
const promise = createAjaxRequest({
url: '/book',
method: 'POST',
dataType: 'json',
contentType: 'application/json',
data: JSON.stringify(newBook)
}).request;