mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-15 15:28:50 -04:00
Send upload_id to Template Preview for logging
This means we can include the anonymous ID for the file in the log we have about Type3 fonts [1]. Currently, we have no way of tracing manually uploaded files with this potential defect. [1]: https://github.com/alphagov/notifications-template-preview/pull/557
This commit is contained in:
@@ -182,6 +182,7 @@ def upload_letter(service_id):
|
||||
try:
|
||||
response = sanitise_letter(
|
||||
BytesIO(pdf_file_bytes),
|
||||
upload_id=upload_id,
|
||||
allow_international_letters=current_service.has_permission(
|
||||
'international_letters'
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user