Change access_token to accesToken
This commit is contained in:
parent
7a2f212b66
commit
41df7429d2
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ const initialState: AuthState = {
|
||||||
|
|
||||||
const auth = createApiReducer(
|
const auth = createApiReducer(
|
||||||
[AuthActionTypes.SIGN_IN_START, AuthActionTypes.SIGN_IN_SUCCESS, AuthActionTypes.SIGN_IN_FAILURE],
|
[AuthActionTypes.SIGN_IN_START, AuthActionTypes.SIGN_IN_SUCCESS, AuthActionTypes.SIGN_IN_FAILURE],
|
||||||
(data) => ({ token: data.access_token }),
|
(data) => ({ token: data.accessToken }),
|
||||||
(data) => data.error.message,
|
(data) => data.error.message,
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue