include coupon comment in the notification

This commit is contained in:
Son 2021-11-11 18:22:41 +01:00
parent 4fc6619553
commit 2fad942c95
1 changed files with 1 additions and 1 deletions

View File

@ -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="",
)