mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-02 17:31:14 -05:00
make sure test notifications don't get date subfolders
they just go in the test bucket's root
This commit is contained in:
@@ -88,7 +88,7 @@ def upload_letter_pdf(notification, pdf_data, precompiled=False):
|
||||
upload_file_name = get_letter_pdf_filename(
|
||||
notification.reference,
|
||||
notification.service.crown,
|
||||
is_scan_letter=precompiled,
|
||||
is_scan_letter=precompiled or notification.key_type == KEY_TYPE_TEST,
|
||||
postage=notification.postage
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user