diff --git a/frontend/app/api_middleware.js b/frontend/app/api_middleware.js index cf866f298..9c71c6d19 100644 --- a/frontend/app/api_middleware.js +++ b/frontend/app/api_middleware.js @@ -14,7 +14,7 @@ export default () => (next) => (action) => { return call(client) .then(async (response) => { if (response.status === 403) { - next({ type: LOGIN.FAILURE, data: null }); + next({ type: LOGIN.FAILURE }); } if (!response.ok) { const text = await response.text();