Skip to content

Commit

Permalink
fixes more snippets
Browse files Browse the repository at this point in the history
  • Loading branch information
rishabhpoddar committed Oct 24, 2024
1 parent 6ed245e commit dbf604a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -608,9 +608,9 @@ EmailPassword.init({
superTokensUserId: signupResponse.user.id,
externalUserId: legacyUserData.user_id
})
signUpResponse.user.id = legacyUserData.user_id
signUpResponse.user.loginMethods[0].recipeUserId = new RecipeUserId(legacyUserData.user_id);
signUpResponse.recipeUserId = new RecipeUserId(legacyUserData.user_id);
signupResponse.user.id = legacyUserData.user_id
signupResponse.user.loginMethods[0].recipeUserId = new RecipeUserId(legacyUserData.user_id);
signupResponse.recipeUserId = new RecipeUserId(legacyUserData.user_id);

// We will also need to set the email verification status of the user
if (legacyUserData.isEmailVerified) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -608,9 +608,9 @@ EmailPassword.init({
superTokensUserId: signupResponse.user.id,
externalUserId: legacyUserData.user_id
})
signUpResponse.user.id = legacyUserData.user_id
signUpResponse.user.loginMethods[0].recipeUserId = new RecipeUserId(legacyUserData.user_id);
signUpResponse.recipeUserId = new RecipeUserId(legacyUserData.user_id);
signupResponse.user.id = legacyUserData.user_id
signupResponse.user.loginMethods[0].recipeUserId = new RecipeUserId(legacyUserData.user_id);
signupResponse.recipeUserId = new RecipeUserId(legacyUserData.user_id);

// We will also need to set the email verification status of the user
if (legacyUserData.isEmailVerified) {
Expand Down

0 comments on commit dbf604a

Please sign in to comment.