Fixed: Mark as Failed Issues

Fixes #1997
Fixes #2582
This commit is contained in:
Qstick 2022-01-15 18:28:02 -06:00
commit 9e7d57426f
3 changed files with 6 additions and 12 deletions

View file

@ -78,12 +78,9 @@ export const actionHandlers = handleThunks({
} = payload;
const promise = createAjaxRequest({
url: '/history/failed',
url: `/history/failed/${historyId}`,
method: 'POST',
dataType: 'json',
data: {
id: historyId
}
dataType: 'json'
}).request;
promise.done(() => {

View file

@ -262,12 +262,9 @@ export const actionHandlers = handleThunks({
}));
const promise = createAjaxRequest({
url: '/history/failed',
url: `/history/failed/${id}`,
method: 'POST',
dataType: 'json',
data: {
id
}
dataType: 'json'
}).request;
promise.done(() => {