mirror of
https://github.com/documenso/documenso.git
synced 2025-11-22 04:31:39 +10:00
Merge pull request #566 from documenso/feat/plan-limits
feat: plan limits
This commit is contained in:
@ -41,7 +41,7 @@ export default async function handler(
|
||||
},
|
||||
});
|
||||
|
||||
if (user && user.Subscription.length > 0) {
|
||||
if (user && user.Subscription) {
|
||||
return res.status(200).json({
|
||||
redirectUrl: `${process.env.NEXT_PUBLIC_WEBAPP_URL}/login`,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user