Merge pull request #114 from Bouncey/fix/fetchUserComplete

Fix fetchUserComplete payload
This commit is contained in:
Stuart Taylor
2018-05-30 18:05:07 +01:00
committed by Mrugesh Mohapatra
parent 975b306a6e
commit 7b0d951f68

View File

@@ -23,7 +23,7 @@ function fetchUserEpic(action$, _, { services }) {
if (!user[result].emailVerified) {
return hardGoTo(HOME_PATH);
}
return fetchUserComplete(result);
return fetchUserComplete(response);
}),
defaultIfEmpty({ type: 'no-user' }),
catchError(err => {