mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-20 14:29:51 -04:00
Strip the trailing comma on the first line of an address block.
This commit is contained in:
@@ -199,7 +199,7 @@ def uploaded_letter_preview(service_id, file_id):
|
||||
status = metadata.get('status')
|
||||
error_shortcode = metadata.get('message')
|
||||
invalid_pages = metadata.get('invalid_pages')
|
||||
recipient = format_recipient(metadata.get('recipient'))
|
||||
recipient = format_recipient(metadata.get('recipient', ''))
|
||||
|
||||
if invalid_pages:
|
||||
invalid_pages = json.loads(invalid_pages)
|
||||
|
||||
Reference in New Issue
Block a user