Send activity recap emails outside of the transaction

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2022-05-11 11:20:42 +02:00
parent c05243f839
commit 4213e1f1ec
3 changed files with 110 additions and 22 deletions

View File

@@ -263,6 +263,7 @@ defmodule Mobilizon.Factory do
parent: build(:actor),
actor: build(:actor),
role: :not_approved,
member_since: nil,
id: uuid,
url: "#{Endpoint.url()}/member/#{uuid}"
}