forked from potsda.mn/mobilizon
Fix a preload issue with actor suspension
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
4db13046b7
commit
0e7ff25333
|
@ -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 """
|
||||||
|
|
Loading…
Reference in a new issue