blob: ea92533a6d0b299bf500433f3be81fd22185af6f (
plain)
1
2
3
4
5
6
7
8
9
|
import {takeEvery} from "redux-saga/effects";
import {LOG_IN} from "../../actions/auth";
import {FETCH_AUTHORIZATIONS_OF_CURRENT_USER} from "../../actions/users";
import {fetchAuthorizationsOfCurrentUser, fetchLoggedInUser} from "./users";
export default function* rootSaga() {
yield takeEvery(LOG_IN, fetchLoggedInUser);
yield takeEvery(FETCH_AUTHORIZATIONS_OF_CURRENT_USER, fetchAuthorizationsOfCurrentUser);
}
|