From 7887fc8ae365dd1ff506e438bf03b1afc73cff2b Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Thu, 27 Jun 2019 09:21:22 -0400 Subject: [PATCH] Fix cancellation notice email --- fosspay/blueprints/html.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fosspay/blueprints/html.py b/fosspay/blueprints/html.py index 6dd2708..9aae1ee 100644 --- a/fosspay/blueprints/html.py +++ b/fosspay/blueprints/html.py @@ -293,7 +293,7 @@ def cancel(id): abort(400) donation.active = False db.commit() - send_cancellation_notice(user, donation) + send_cancellation_notice(current_user, donation) return redirect("../panel") @html.route("/invoice/")