Skip to content

Commit

Permalink
Update user_permissions.ex
Browse files Browse the repository at this point in the history
Edit the reputation threshold for each level.
  • Loading branch information
Nevjoia authored Nov 30, 2024
1 parent 3c9dbfd commit 3ffecc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/cf/lib/accounts/user_permissions.ex
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ defmodule CF.Accounts.UserPermissions do
@error_limit_reached "limit_reached"

@limit_warning_threshold 5
@levels [-30, -5, 15, 30, 75, 125, 200, 500, 1000]
@levels [-50, 15, 30, 50, 75, 125, 250, 500, 1000]
@reverse_levels Enum.reverse(@levels)
@nb_levels Enum.count(@levels)
@lowest_acceptable_reputation List.first(@levels)
Expand Down

0 comments on commit 3ffecc8

Please sign in to comment.