Skip to content

Commit

Permalink
Update user org total limit
Browse files Browse the repository at this point in the history
  • Loading branch information
vicmgs committed Jun 1, 2021
1 parent 8752092 commit 51d77c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/console/organizations/organizations.ex
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ defmodule Console.Organizations do
def create_organization(%{} = user, attrs \\ %{}) do
count = get_organizations(user) |> Enum.count()

if count > 24 do
if count > 499 do
{:error, :forbidden, "Maximum number of organizations reached"}
else
organization_changeset =
Expand Down

0 comments on commit 51d77c3

Please sign in to comment.