Now with a better download file container thing. Can change open with OS.

This commit is contained in:
Scott Idem
2024-10-07 18:30:09 -04:00
parent 03e6117024
commit c3f4832f48
5 changed files with 318 additions and 63 deletions

View File

@@ -649,11 +649,11 @@ export let download_hosted_file = async function download_hosted_file(
{
api_cfg,
hosted_file_id,
return_file=true,
return_file = true,
filename,
auto_download=false,
params={},
log_lvl=0
auto_download = false,
params = {},
log_lvl = 0
} : {
api_cfg: any,
hosted_file_id: string,
@@ -678,7 +678,7 @@ export let download_hosted_file = async function download_hosted_file(
api_cfg: api_cfg,
endpoint: endpoint,
params: params,
return_blob: true,
return_blob: return_file,
filename: filename,
auto_download: auto_download,
task_id: task_id,