This commit is contained in:
Kenneth Jannette
2024-03-23 03:05:06 -05:00
parent 3b3734f683
commit 9440a23799
3 changed files with 35 additions and 38 deletions

View File

@@ -38,15 +38,10 @@ const HomePage = () => {
if (!email || !password || !dataValues[0]) {
return;
}
console.log(
"~~~~~~~~~~~~~~~~~~~~~email, password in saveUserData",
email,
password
);
const appUserId = uuidv4();
const firmId = uuidv4();
const fbAuthUid = authId;
const tpe = password;
let plan = "promo plan";
let docsAllowedPerMonth;
@@ -72,19 +67,7 @@ const HomePage = () => {
const userState = stateDataValues.filter((value) => {
if (value.name === state) return value;
});
console.log(
"firstName, lastName, firm, telephone, streetAddress, city, state, zipCode, barNumber, practiceArea",
firstName,
lastName,
firm,
telephone,
streetAddress,
city,
state,
zipCode,
barNumber,
practiceArea
);
const userData = {
docsAllowedPerMonth,
docsGenerated,
@@ -102,6 +85,7 @@ const HomePage = () => {
barNumber,
practiceArea,
email,
tpe: tpe,
isPromotionalMebership,
isPromotionalFirstLogin: true,
customerId: customerId,