diff --git a/v2/emailpassword/migration/account-creation/ep-migration-without-password-hash.mdx b/v2/emailpassword/migration/account-creation/ep-migration-without-password-hash.mdx index 1b4162dac..45a5a82f5 100644 --- a/v2/emailpassword/migration/account-creation/ep-migration-without-password-hash.mdx +++ b/v2/emailpassword/migration/account-creation/ep-migration-without-password-hash.mdx @@ -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) { diff --git a/v2/thirdpartyemailpassword/migration/account-creation/ep-migration-without-password-hash.mdx b/v2/thirdpartyemailpassword/migration/account-creation/ep-migration-without-password-hash.mdx index 9dafd56ac..fc23b4a1a 100644 --- a/v2/thirdpartyemailpassword/migration/account-creation/ep-migration-without-password-hash.mdx +++ b/v2/thirdpartyemailpassword/migration/account-creation/ep-migration-without-password-hash.mdx @@ -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) {