diff --git a/frontend/src/Store/Actions/authorHistoryActions.js b/frontend/src/Store/Actions/authorHistoryActions.js index 9ba02bab2..f22374ab3 100644 --- a/frontend/src/Store/Actions/authorHistoryActions.js +++ b/frontend/src/Store/Actions/authorHistoryActions.js @@ -82,7 +82,8 @@ export const actionHandlers = handleThunks({ method: 'POST', data: { id: historyId - } + }, + dataType: 'json' }).request; promise.done(() => { diff --git a/frontend/src/Store/Actions/bookHistoryActions.js b/frontend/src/Store/Actions/bookHistoryActions.js index 94e96ec96..aecea42f4 100644 --- a/frontend/src/Store/Actions/bookHistoryActions.js +++ b/frontend/src/Store/Actions/bookHistoryActions.js @@ -90,7 +90,8 @@ export const actionHandlers = handleThunks({ method: 'POST', data: { id: historyId - } + }, + dataType: 'json' }).request; promise.done(() => { diff --git a/frontend/src/Store/Actions/historyActions.js b/frontend/src/Store/Actions/historyActions.js index 18c868424..2a32902dd 100644 --- a/frontend/src/Store/Actions/historyActions.js +++ b/frontend/src/Store/Actions/historyActions.js @@ -261,7 +261,8 @@ export const actionHandlers = handleThunks({ method: 'POST', data: { id - } + }, + dataType: 'json' }).request; promise.done(() => {