Skip to content

Commit f74dff6

Browse files
authored
Merge pull request #223 from CaptainFact/chore/moderation-nb-flags
Moderation: Reduce the number of flags to report to 1
2 parents 17cd0c2 + 7c0051f commit f74dff6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/cf/lib/moderation/moderation.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ defmodule CF.Moderation do
2929
alias CF.Accounts.UserPermissions
3030

3131
@nb_flags_to_report %{
32-
{:create, :comment} => 3
32+
{:create, :comment} => 1
3333
}
3434

3535
@doc """
@@ -38,7 +38,7 @@ defmodule CF.Moderation do
3838
## Examples
3939
4040
iex> CF.Moderation.nb_flags_to_report(:create, :comment)
41-
3
41+
1
4242
"""
4343
@spec nb_flags_to_report(atom(), atom()) :: integer()
4444
def nb_flags_to_report(action, entity) when is_atom(action) and is_atom(entity),

0 commit comments

Comments
 (0)