From b5e10bbc3054ac1351168dd5002fb00bb831bf78 Mon Sep 17 00:00:00 2001 From: rohan-chaturvedi Date: Mon, 16 Oct 2023 14:40:44 +0530 Subject: [PATCH] feat: update free tier app limit --- backend/ee/feature_flags.py | 2 +- frontend/components/apps/NewAppDialog.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/ee/feature_flags.py b/backend/ee/feature_flags.py index c1ea1107..ba54b97a 100644 --- a/backend/ee/feature_flags.py +++ b/backend/ee/feature_flags.py @@ -11,7 +11,7 @@ def allow_new_app(organisation): Returns: bool: Whether or not to allow creating an app for the given org """ - FREE_APP_LIMIT = 5 + FREE_APP_LIMIT = 3 PRO_APP_LIMIT = 10 current_app_count = App.objects.filter( diff --git a/frontend/components/apps/NewAppDialog.tsx b/frontend/components/apps/NewAppDialog.tsx index 512f3553..5add1d2d 100644 --- a/frontend/components/apps/NewAppDialog.tsx +++ b/frontend/components/apps/NewAppDialog.tsx @@ -34,7 +34,7 @@ import { getUserKxPublicKey, } from '@/utils/crypto' -const FREE_APP_LIMIT = 5 +const FREE_APP_LIMIT = 3 const PRO_APP_LIMIT = 10 export default function NewAppDialog(props: {