Skip to content

Open source, privacy-first web analytics. Lightweight, cookie-free Google Analytics alternative. Self-hosted or cloud.

Send cancellation email safely

Uku Taht8fa1d60ff0b8
diff --git a/lib/plausible/billing/billing.ex b/lib/plausible/billing/billing.ex
index e8a5ffc589..6d43d70327 100644
--- a/lib/plausible/billing/billing.ex
+++ b/lib/plausible/billing/billing.ex
@@ -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}