From 9b9fb8362dd6eb5684e84118e8eea906a842e817 Mon Sep 17 00:00:00 2001 From: Hostea dashboard Date: Fri, 30 Sep 2022 18:36:56 +0530 Subject: [PATCH] fix: receipt email subject --- billing/management/commands/generate_invoice.py | 2 +- billing/views.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/billing/management/commands/generate_invoice.py b/billing/management/commands/generate_invoice.py index eea0479..12c0612 100644 --- a/billing/management/commands/generate_invoice.py +++ b/billing/management/commands/generate_invoice.py @@ -59,7 +59,7 @@ class Command(BaseCommand): sender = settings.DEFAULT_FROM_EMAIL send_mail( - subject="[Gna!] Payment receipt your Gna! VM", + subject="[Gna!] Payment receipt for your Gna! VM", message=body, from_email=f"No reply Gna!<{sender}>", # TODO read from settings.py recipient_list=[email], diff --git a/billing/views.py b/billing/views.py index ff85bcf..f6f24f6 100644 --- a/billing/views.py +++ b/billing/views.py @@ -128,7 +128,7 @@ def payment_success(request, payment_public_id): sender = settings.DEFAULT_FROM_EMAIL send_mail( - subject="[Gna!] Payment receipt your Gna! VM", + subject="[Gna!] Payment receipt for your Gna! VM", message=body, from_email=f"No reply Gna!<{sender}>", # TODO read from settings.py recipient_list=[email],