Son NK 5 лет назад
Родитель
Сommit
50a7442d02
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      app/dashboard/views/lifetime_licence.py

+ 1 - 1
app/dashboard/views/lifetime_licence.py

@@ -43,7 +43,7 @@ def lifetime_licence():
             # notify admin
             send_email(
                 ADMIN_EMAIL,
-                subject=f"User {current_user.id} used lifetime coupon. Coupon nb_used: {coupon.nb_used}",
+                subject=f"User {current_user} used lifetime coupon. Coupon nb_used: {coupon.nb_used}",
                 plaintext="",
                 html="",
             )