16718: Merge branch 'master' into 16718-past-collection-versions-search
[arvados.git] / src / store / link-account-panel / link-account-panel-actions.ts
index 6540ee696ac33f464f9c888bda080c98dffaaa44..1e94fcfacaf46d44469a72b4f616c54fb432e541 100644 (file)
@@ -91,7 +91,7 @@ export const checkForLinkStatus = () =>
 
 export const switchUser = (user: UserResource, token: string) =>
     (dispatch: Dispatch<any>, getState: () => RootState, services: ServiceRepository) => {
-        dispatch(authActions.INIT({ user, token }));
+        dispatch(authActions.INIT_USER({ user, token }));
     };
 
 export const linkFailed = () =>