forked from potsda.mn/mobilizon
fix(back): allow any other type of actor to be suspended
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
8c14ba441c
commit
92b222b091
|
@ -103,7 +103,7 @@ defmodule Mobilizon.Service.ActorSuspension do
|
|||
end)
|
||||
end
|
||||
|
||||
defp maybe_reset_actor_id(%Multi{} = multi, %Actor{type: :Group} = _actor) do
|
||||
defp maybe_reset_actor_id(%Multi{} = multi, %Actor{type: _} = _actor) do
|
||||
multi
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue