mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-18 05:29:38 -04:00
Refactor to pass through whole postal address
It’s a bit cleaner to not be passing through multiple variables which are properties of the same object.
This commit is contained in:
@@ -299,8 +299,7 @@ def uploaded_letter_preview(service_id, file_id):
|
||||
message=error_message,
|
||||
error_code=error_shortcode,
|
||||
form=form,
|
||||
recipient=postal_address.as_single_line,
|
||||
international=postal_address.international,
|
||||
postal_address=postal_address,
|
||||
re_upload_form=re_upload_form
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user