fix(ui): fix jwt

This commit is contained in:
sylenien 2023-01-06 18:05:42 +01:00
parent a94d5f4904
commit 6be1e7b662

View file

@ -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();