Add cron job to clean old activities

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2021-03-02 14:34:52 +01:00
parent 3fade65c8e
commit 74e0e009d1
9 changed files with 192 additions and 7 deletions

View File

@@ -418,7 +418,7 @@ defmodule Mobilizon.Factory do
%Mobilizon.Activities.Activity{
type: :event,
subject: :event_created,
subject_params: %{event: event},
subject_params: %{event_title: event.title},
author: actor,
group: group,
object_type: :event,