Merge pull request #100 from kjannette/more

more
This commit is contained in:
S Jannette
2024-02-16 20:37:17 -06:00
committed by GitHub

View File

@@ -179,7 +179,7 @@ const SignupPage = () => {
let plan = selectedPlan; let plan = selectedPlan;
let docsAllowedPerMonth; let docsAllowedPerMonth;
if (isPromotionalMebership == true) { if (isPromotionalMebership === true) {
docsAllowedPerMonth = 1; docsAllowedPerMonth = 1;
subscriptionId = uuidv4(); subscriptionId = uuidv4();
plan = "promo plan"; plan = "promo plan";
@@ -404,6 +404,7 @@ const SignupPage = () => {
const user = userCredential.user; const user = userCredential.user;
dataValues = { ...dataValues, ...data }; dataValues = { ...dataValues, ...data };
const isPromotionalMebership = false;
const res = await saveUserData( const res = await saveUserData(
user.uid, user.uid,
dataValues, dataValues,
@@ -411,7 +412,8 @@ const SignupPage = () => {
subscriptionCreated, subscriptionCreated,
subscriptionPeriodStart, subscriptionPeriodStart,
subscriptionPeriodEnd, subscriptionPeriodEnd,
subscriptionId subscriptionId,
isPromotionalMebership
); );
setIsBusy(false); setIsBusy(false);