Skip to content
2 changes: 1 addition & 1 deletion apps/OpenSign/src/components/LoginFacebook.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ const LoginFacebook = ({
email: userDetails.Email,
// "passsword":userDetails.Phone,
phone: userDetails.Phone,
role: "contracts_Admin",
role: "contracts_User",
company: userDetails.Company
}
};
Expand Down
2 changes: 1 addition & 1 deletion apps/OpenSign/src/components/LoginGoogle.js
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ const GoogleSignInBtn = ({
email: userDetails.Email,
// "passsword":userDetails.Phone,
phone: userDetails.Phone,
role: "contracts_Admin",
role: "contracts_User",
company: userDetails.Company,
jobTitle: userDetails.Destination
}
Expand Down
4 changes: 2 additions & 2 deletions apps/OpenSign/src/routes/Pgsignup.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ const PgSignUp = (props) => {
const res = await Parse.Cloud.run("getUserDetails", params);
// console.log("res", res);
if (res) {
const checkUser = new Parse.Query(extClass);
const updateQuery = await checkUser.get(res.id);
const updateQuery = new Parse.Object(extClass);
updateQuery.id = res.id;
updateQuery.set(
"Next_billing_date",
new Date(zohoRes.data.result.nextBillingDate)
Expand Down