fix: Only enforce min seats for orgs (#10572)

* Only check subscription count for orgs

* Undo constants change

---------

Co-authored-by: alannnc <[email protected]>
This commit is contained in:
Joe Au-Yeungandalannnc authored and GitHub committed 2023-08-03 15:17:57 -04:00
1 parent 506ef2078f
commit c7d8d435f1
2 files changed
+8 -3

No files matched your search

+2
View File
@@ -90,3 +90,5 @@ export const MINUTES_TO_BOOK = process.env.NEXT_PUBLIC_MINUTES_TO_BOOK || "5";
// Needed for orgs
export const ALLOWED_HOSTNAMES = JSON.parse(`[${process.env.ALLOWED_HOSTNAMES || ""}]`) as string[];
export const RESERVED_SUBDOMAINS = JSON.parse(`[${process.env.RESERVED_SUBDOMAINS || ""}]`) as string[];
export const ORGANIZATION_MIN_SEATS = 30;