Allow Master Corporate to pay for their subscription
This commit is contained in:
@@ -13,7 +13,7 @@ export const propagateStatusChange = (userId: string, status: UserStatus) =>
|
||||
const user = docUser.data() as User;
|
||||
|
||||
// only update the status of the user's groups if the user is a corporate user
|
||||
if (user.type === "corporate") {
|
||||
if (user.type === "corporate" || user.type === "mastercorporate") {
|
||||
getDocs(query(collection(db, "groups"), where("admin", "==", userId))).then(async (userGroupsRef) => {
|
||||
const userGroups = userGroupsRef.docs.map((x) => x.data());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user