mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-04 05:31:44 -04:00
Set template subject to Provided as PDF for precompiled letters
- easier to change the text in Admin rather than do a database update on API and should be easy to change if the text should change in the future
This commit is contained in:
@@ -1763,6 +1763,7 @@ def mock_get_notifications(
|
||||
diff_template_type=None,
|
||||
personalisation=None,
|
||||
redact_personalisation=False,
|
||||
is_precompiled_letter=False,
|
||||
):
|
||||
def _get_notifications(
|
||||
service_id,
|
||||
@@ -1787,6 +1788,7 @@ def mock_get_notifications(
|
||||
type_=diff_template_type or template_type[0],
|
||||
content=template_content,
|
||||
redact_personalisation=redact_personalisation,
|
||||
is_precompiled_letter=is_precompiled_letter,
|
||||
)
|
||||
else:
|
||||
template = template_json(
|
||||
|
||||
Reference in New Issue
Block a user