Skip to content

Commit

Permalink
fix: ingestion email subject (#4102)
Browse files Browse the repository at this point in the history
  • Loading branch information
AfaqShuaib09 authored Sep 20, 2023
1 parent a43d253 commit f5f0095
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def handle(self, *args, **options):

if product_type:
logger.info(f"Sending Ingestion stats email for product type {product_type}")
email_subject = f"{source.name}- {product_type.replace('_', ' ').title()} Data Ingestion"
email_subject = f"{source.name} - {product_type.replace('_', ' ').title()} Data Ingestion"
product_mapping = settings.PRODUCT_METADATA_MAPPING[self.PRODUCT_TYPE_SLUG_MAP[product_type]][source.slug]
to_users = product_mapping['EMAIL_NOTIFICATION_LIST']
ingestion_details = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ def handle(self, *args, **options):

if product_type:
logger.info(f"Sending Ingestion stats email for product type {product_type}")
email_subject = f"{source.name}- {product_type.replace('_', ' ').title()} Data Ingestion"
email_subject = f"{source.name} - {product_type.replace('_', ' ').title()} Data Ingestion"
to_users = settings.PRODUCT_METADATA_MAPPING[product_type][source.slug]['EMAIL_NOTIFICATION_LIST']
ingestion_details = {
'ingestion_run_time': ingestion_time,
Expand Down

0 comments on commit f5f0095

Please sign in to comment.