mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
fix: lint error
This commit is contained in:
@@ -325,7 +325,7 @@ export async function checkForProjectsLimit(org: Organization, orgProjectCount?:
|
||||
if (plan.$id !== BillingPlan.FREE) return;
|
||||
if (org.projects?.length > 0) return;
|
||||
|
||||
let projectCount = orgProjectCount;
|
||||
const projectCount = orgProjectCount;
|
||||
if (projectCount === undefined) return;
|
||||
|
||||
if (plan.projects > 0 && projectCount > plan.projects) {
|
||||
|
||||
Reference in New Issue
Block a user