Skip to content

Commit 4ff6168

Browse files
committed
document expected behavior of generation of pre-signed download URLs for
non-existent files
1 parent 0391c4a commit 4ff6168

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

components/pipedream_utils/actions/get-temporary-file-url/get-temporary-file-url.mjs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ export default {
5050

5151
const urls = {};
5252
if (this.getDownloadUrl) {
53+
// Generate a download URL even if the file doesn't exist yet, allowing
54+
// for pre-signed URLs to be shared ahead of time.
5355
urls.get_url = await file.toUrl();
5456
}
5557
if (this.getUploadUrl) {

0 commit comments

Comments
 (0)