Baas module fetches the user personal data and status after signup and login. So this action is called from Auth Module.
Changes in LinkerStudio/modules/authentication/common/utils/AuthHelper.ts
LinkerStudio/modules/authentication/common/utils/AuthHelper.ts
Import after the last import:
import {baasUserAfterSignInAndSignUp} from 'LinkerStudio/modules/baas/common/utils/customer/CustomerHelpers';
Replace the function handleSuccessSignInAndSignUp by:
handleSuccessSignInAndSignUp
export const handleSuccessSignInAndSignUp = async (dispatch: AppDispatch) => { baasUserAfterSignInAndSignUp(dispatch); // Add actions after Success SignIn And SignUp };
Last updated 2 years ago