Fix a preload issue with actor suspension

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2022-08-28 10:52:44 +02:00
parent 4db13046b7
commit 0e7ff25333
No known key found for this signature in database
GPG Key ID: A061B9DDE0CA0773

View File

@ -19,7 +19,7 @@ defmodule Mobilizon.Service.ActorSuspension do
require Logger require Logger
import Ecto.Query import Ecto.Query
@actor_preloads [:user, :organized_events, :comments] @actor_preloads [:user, :organized_events, :participations, :comments]
@delete_actor_default_options [reserve_username: true, suspension: false] @delete_actor_default_options [reserve_username: true, suspension: false]
@doc """ @doc """