Skip to content

Commit 176cdf8

Browse files
committed
use specified destination for pre-signed url downloads
1 parent 2fdfc71 commit 176cdf8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

synapseclient/core/download/download_functions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -572,7 +572,7 @@ def download_fn(
572572
async def download_from_url_multi_threaded(
573573
file_handle_id: Optional[str],
574574
object_id: Optional[str],
575-
object_type: str,
575+
object_type: Optional[str],
576576
destination: str,
577577
*,
578578
expected_md5: str = None,
@@ -619,7 +619,7 @@ async def download_from_url_multi_threaded(
619619
)
620620
else:
621621
request = DownloadRequest(
622-
path=temp_destination,
622+
path=destination,
623623
debug=client.debug,
624624
presigned_url=presigned_url,
625625
)

0 commit comments

Comments
 (0)