Send cancellation email safely

This commit is contained in:
Uku Taht 2022-02-28 15:33:47 -06:00
parent 775ae6228f
commit 8fa1d60ff0

View File

@ -54,7 +54,7 @@ defmodule Plausible.Billing do
case Repo.update(changeset) do
{:ok, updated} ->
PlausibleWeb.Email.cancellation_email(subscription.user)
|> Plausible.Mailer.send_email()
|> Plausible.Mailer.send_email_safe()
{:ok, updated}