Propagate unlimited website entitlement through subscription checks
This commit is contained in:
1 parent
d2eafd68f7
commit
0c0a3aee65
4 files changed
+19
No files matched your search
@@ -22,6 +22,7 @@ export async function POST(request: Request) {
|
||||
isBusiness: account.isBusiness || false,
|
||||
isNoBilling: account.isNoBilling || false,
|
||||
hasSubscription: account.hasSubscription || false,
|
||||
unlimitedWebsites: account.unlimitedWebsites || false,
|
||||
};
|
||||
}
|
||||
|
||||
@@ -36,6 +37,7 @@ export async function POST(request: Request) {
|
||||
isBusiness: teamAccount.isBusiness || false,
|
||||
isNoBilling: teamAccount.isNoBilling || false,
|
||||
hasSubscription: teamAccount.hasSubscription || false,
|
||||
unlimitedWebsites: teamAccount.unlimitedWebsites || false,
|
||||
}
|
||||
: null,
|
||||
};
|
||||
|
||||
@@ -70,6 +70,7 @@ export async function POST(request: Request) {
|
||||
isBusiness: account.isBusiness || false,
|
||||
isNoBilling: account.isNoBilling || false,
|
||||
hasSubscription: account.hasSubscription || false,
|
||||
unlimitedWebsites: account.unlimitedWebsites || false,
|
||||
},
|
||||
60 * 60 * 24 * 90,
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user