1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-04-17 21:26:22 -04:00

Fixed: Mark as Failed errors (#5939)

Originally by Markus McDowall (cherry picked from commit 12fafb24578d39df2eabd2331558b2da961fe8b6)

Co-Authored-By: Mark McDowall <markus101@users.noreply.github.com>

Fixes: #5907
Fixes: #5938
This commit is contained in:
nitsua
2021-02-14 10:28:30 -05:00
committed by GitHub
parent 90289de22c
commit a9792973ee
3 changed files with 13 additions and 10 deletions

View File

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

View File

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