mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-06-02 12:30:48 -04:00
Remove expand_emails argument from get_template
It isn’t used for anything now.
This commit is contained in:
@@ -79,7 +79,6 @@ def view_notification(service_id, notification_id):
|
||||
notification_id=notification_id,
|
||||
filetype='png',
|
||||
),
|
||||
expand_emails=True,
|
||||
page_count=page_count,
|
||||
show_recipient=True,
|
||||
redact_missing_personalisation=True,
|
||||
|
||||
@@ -133,7 +133,6 @@ def send_messages(service_id, template_id):
|
||||
db_template,
|
||||
current_service,
|
||||
show_recipient=True,
|
||||
expand_emails=True,
|
||||
letter_preview_url=url_for(
|
||||
'.view_letter_template_preview',
|
||||
service_id=service_id,
|
||||
@@ -363,7 +362,6 @@ def send_test_step(service_id, template_id, step_index):
|
||||
db_template,
|
||||
current_service,
|
||||
show_recipient=True,
|
||||
expand_emails=True,
|
||||
letter_preview_url=url_for(
|
||||
'.send_test_preview',
|
||||
service_id=service_id,
|
||||
@@ -528,7 +526,6 @@ def _check_messages(service_id, template_id, upload_id, preview_row, letters_as_
|
||||
db_template,
|
||||
current_service,
|
||||
show_recipient=True,
|
||||
expand_emails=True,
|
||||
letter_preview_url=url_for(
|
||||
'.check_messages_preview',
|
||||
service_id=service_id,
|
||||
@@ -857,7 +854,6 @@ def _check_notification(service_id, template_id, exception=None):
|
||||
db_template,
|
||||
current_service,
|
||||
show_recipient=True,
|
||||
expand_emails=True,
|
||||
email_reply_to=email_reply_to,
|
||||
sms_sender=sms_sender,
|
||||
letter_preview_url=url_for(
|
||||
|
||||
@@ -63,7 +63,6 @@ def view_template(service_id, template_id):
|
||||
template=get_template(
|
||||
template,
|
||||
current_service,
|
||||
expand_emails=True,
|
||||
letter_preview_url=url_for(
|
||||
'.view_letter_template_preview',
|
||||
service_id=service_id,
|
||||
@@ -251,7 +250,6 @@ def _view_template_version(service_id, template_id, version, letters_as_pdf=Fals
|
||||
return dict(template=get_template(
|
||||
current_service.get_template(template_id, version=version),
|
||||
current_service,
|
||||
expand_emails=True,
|
||||
letter_preview_url=url_for(
|
||||
'.view_template_version_preview',
|
||||
service_id=service_id,
|
||||
@@ -674,7 +672,6 @@ def delete_service_template(service_id, template_id):
|
||||
template=get_template(
|
||||
template,
|
||||
current_service,
|
||||
expand_emails=True,
|
||||
letter_preview_url=url_for(
|
||||
'.view_letter_template_preview',
|
||||
service_id=service_id,
|
||||
@@ -697,7 +694,6 @@ def confirm_redact_template(service_id, template_id):
|
||||
template=get_template(
|
||||
template,
|
||||
current_service,
|
||||
expand_emails=True,
|
||||
letter_preview_url=url_for(
|
||||
'.view_letter_template_preview',
|
||||
service_id=service_id,
|
||||
@@ -738,7 +734,6 @@ def view_template_versions(service_id, template_id):
|
||||
get_template(
|
||||
template,
|
||||
current_service,
|
||||
expand_emails=True,
|
||||
letter_preview_url=url_for(
|
||||
'.view_template_version_preview',
|
||||
service_id=service_id,
|
||||
|
||||
@@ -343,7 +343,6 @@ def get_template(
|
||||
template,
|
||||
service,
|
||||
show_recipient=False,
|
||||
expand_emails=False,
|
||||
letter_preview_url=None,
|
||||
page_count=1,
|
||||
redact_missing_personalisation=False,
|
||||
|
||||
Reference in New Issue
Block a user