mirror of
https://github.com/plankanban/planka.git
synced 2025-07-30 18:49:44 +02:00
Rename deadline to due date, update dependencies
This commit is contained in:
parent
64acf0ac56
commit
51013b6a32
31 changed files with 113 additions and 115 deletions
|
@ -1,4 +1,6 @@
|
|||
import { call, select, put } from 'redux-saga/effects';
|
||||
import {
|
||||
call, put, select, take,
|
||||
} from 'redux-saga/effects';
|
||||
|
||||
import { accessTokenSelector } from '../../../selectors';
|
||||
import { logout } from '../../../actions';
|
||||
|
@ -14,6 +16,7 @@ export default function* (method, ...args) {
|
|||
} catch (error) {
|
||||
if (error.code === ErrorCodes.UNAUTHORIZED) {
|
||||
yield put(logout()); // TODO: next url
|
||||
yield take();
|
||||
}
|
||||
|
||||
throw error;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue