more
This commit is contained in:
@@ -179,7 +179,7 @@ const SignupPage = () => {
|
||||
let plan = selectedPlan;
|
||||
let docsAllowedPerMonth;
|
||||
|
||||
if (isPromotionalMebership == true) {
|
||||
if (isPromotionalMebership === true) {
|
||||
docsAllowedPerMonth = 1;
|
||||
subscriptionId = uuidv4();
|
||||
plan = "promo plan";
|
||||
@@ -404,6 +404,7 @@ const SignupPage = () => {
|
||||
|
||||
const user = userCredential.user;
|
||||
dataValues = { ...dataValues, ...data };
|
||||
const isPromotionalMebership = false;
|
||||
const res = await saveUserData(
|
||||
user.uid,
|
||||
dataValues,
|
||||
@@ -411,7 +412,8 @@ const SignupPage = () => {
|
||||
subscriptionCreated,
|
||||
subscriptionPeriodStart,
|
||||
subscriptionPeriodEnd,
|
||||
subscriptionId
|
||||
subscriptionId,
|
||||
isPromotionalMebership
|
||||
);
|
||||
|
||||
setIsBusy(false);
|
||||
|
||||
Reference in New Issue
Block a user