Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: update free tier app limit #84

Merged
merged 1 commit into from
Oct 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion backend/ee/feature_flags.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
2 changes: 1 addition & 1 deletion frontend/components/apps/NewAppDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down
Loading