fix(back): allow any other type of actor to be suspended

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2023-09-05 16:03:45 +02:00
parent 8c14ba441c
commit 92b222b091
No known key found for this signature in database
GPG key ID: A061B9DDE0CA0773

View file

@ -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