From 2fd2c18615f6a64c708289a7d334aeae224ef766 Mon Sep 17 00:00:00 2001 From: James McKinney <26463+jpmckinney@users.noreply.github.com> Date: Mon, 9 Sep 2024 20:32:08 -0400 Subject: [PATCH] fix(refactor): Fix accidental return --- app/mail.py | 2 +- requirements_dev.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/mail.py b/app/mail.py index 602fdddd..e95d2587 100644 --- a/app/mail.py +++ b/app/mail.py @@ -39,7 +39,7 @@ def send( subject = _("Opportunity to access MSME credit for being awarded a public contract") base_fathom_url = "?utm_source=credere-intro&utm_medium=email&utm_campaign=" - return { + parameters = { "AWARD_SUPPLIER_NAME": application.borrower.legal_name, "TENDER_TITLE": application.award.title, "BUYER_NAME": application.award.buyer_name, diff --git a/requirements_dev.txt b/requirements_dev.txt index 1bb9bc60..639bdd50 100644 --- a/requirements_dev.txt +++ b/requirements_dev.txt @@ -124,7 +124,7 @@ mdurl==0.1.2 # markdown-it-py minify-html==0.15.0 # via -r requirements.txt -moto==5.0.13 +moto==5.0.14 # via -r requirements_dev.in mypy==1.11.1 # via -r requirements_dev.in