Skip to content

Commit

Permalink
Remove erroneous whitespace in email notification slack message text
Browse files Browse the repository at this point in the history
  • Loading branch information
luca-vari committed Nov 20, 2024
1 parent 7be00f6 commit c489e82
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/core/services/slack.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def send_email_alert_slack(email_pk: str):
case_url = settings.CLERK_BASE_URL + reverse("case-detail", args=(str(issue.pk),))
msg = (
"*New Email Notification*\n"
f"A new email has been received for case <{case_url}|{issue.fileref}> .\n"
f"A new email has been received for case <{case_url}|{issue.fileref}>.\n"
f"You can view this case's emails here: <{case_email_url}|here>.\n"
)

Expand Down Expand Up @@ -119,7 +119,7 @@ def send_email_failure_alert_slack(email_pk: str):
case_url = settings.CLERK_BASE_URL + reverse("case-detail", args=(str(issue.pk),))
msg = (
"*Email Delivery Failed*\n"
f"An email failed to send for case <{case_url}|{issue.fileref}> .\n"
f"An email failed to send for case <{case_url}|{issue.fileref}>.\n"
f"You can view this case's emails here: <{case_email_url}|here>.\n"
"Please try again or send via the coordinator's inbox.\n"
)
Expand Down

0 comments on commit c489e82

Please sign in to comment.