-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Download the Judgment PDF from the PRIVATE_ASSET_BUCKET
In an earlier PR we added the ability to download the Judgment PDF from the public asset bucket. This is incorrect - editors shoud download the PDF from the *private* asset bucket, so they can check it before publication. We have refactored this to work more in line with downloading the docx - rather than getting the PDF from the bucket and returning it in an HTTPResponse, we can generate a presigned URL and download the PDF in the same way we download the docx. This simplifies the views and urls considerably.
- Loading branch information
Laura Porter
committed
Jun 9, 2022
1 parent
15f2ddb
commit 13d3fb1
Showing
5 changed files
with
24 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters