From f320e1743e5a86a71501f7d206d1681df64d440e Mon Sep 17 00:00:00 2001 From: Hongjing Chen Date: Thu, 19 Feb 2026 13:53:40 -0800 Subject: [PATCH] 32291-3 Fix error generating rejection report in non-production environment Signed-off-by: Hongjing Chen --- mhr-api/pyproject.toml | 2 +- mhr-api/src/mhr_api/reports/v2/report.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/mhr-api/pyproject.toml b/mhr-api/pyproject.toml index 51aa1c587..ae25ffc24 100644 --- a/mhr-api/pyproject.toml +++ b/mhr-api/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "mhr-api" -version = "2.1.11" +version = "2.1.12" description = "" authors = ["dlovett "] license = "BSD 3" diff --git a/mhr-api/src/mhr_api/reports/v2/report.py b/mhr-api/src/mhr_api/reports/v2/report.py index efc1941d3..626123fd2 100755 --- a/mhr-api/src/mhr_api/reports/v2/report.py +++ b/mhr-api/src/mhr_api/reports/v2/report.py @@ -954,6 +954,7 @@ def _set_meta_info(self): ReportTypes.MHR_NOTE, ReportTypes.MHR_TRANSPORT_PERMIT, ReportTypes.MHR_REGISTRATION_COVER, + ReportTypes.MHR_TOD_REJECTION, ): reg_num = self._report_data.get("mhrNumber", "") self._report_data["footer_content"] = f"Manufactured Home Registration #{reg_num}"