Params fix

This commit is contained in:
Valentino Kozinec 2022-01-19 12:01:17 +01:00
parent 786217b753
commit 88fff73cc0
3 changed files with 9 additions and 10 deletions

View file

@ -15,10 +15,10 @@ const signOutAction = (): SuccessAction => ({
payload: null,
});
export const signIn = (state: string) =>
export const signIn = (params: string) =>
createApiAction(
{
path: `/hydra/callback?state=${state}`,
path: `/hydra/callback${params}`,
method: 'GET',
},
[AuthActionTypes.SIGN_IN_START, AuthActionTypes.SIGN_IN_SUCCESS, AuthActionTypes.SIGN_IN_FAILURE],