From 2fad942c9505c05c4cc23820d96861a218477a17 Mon Sep 17 00:00:00 2001 From: Son Date: Thu, 11 Nov 2021 18:22:41 +0100 Subject: [PATCH] include coupon comment in the notification --- app/dashboard/views/lifetime_licence.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/dashboard/views/lifetime_licence.py b/app/dashboard/views/lifetime_licence.py index eac3dc15..c348bead 100644 --- a/app/dashboard/views/lifetime_licence.py +++ b/app/dashboard/views/lifetime_licence.py @@ -45,7 +45,7 @@ def lifetime_licence(): # notify admin send_email( ADMIN_EMAIL, - subject=f"User {current_user} used lifetime coupon. Coupon nb_used: {coupon.nb_used}", + subject=f"User {current_user} used lifetime coupon({coupon.comment}). Coupon nb_used: {coupon.nb_used}", plaintext="", html="", )