aboutsummaryrefslogtreecommitdiff
path: root/src/server/ApiManagers/DownloadManager.ts
diff options
context:
space:
mode:
authorbob <bcz@cs.brown.edu>2020-02-11 16:26:08 -0500
committerbob <bcz@cs.brown.edu>2020-02-11 16:26:08 -0500
commit99f66f02c64a195c77b6aa1780855104064fbda1 (patch)
tree2cff53d6836e7602cdd85ea2a12d0d76de901231 /src/server/ApiManagers/DownloadManager.ts
parentd61424aafca5023ac5bde1f29695ed117723d76b (diff)
parent3861877df8909c78c12e44de81d4f9c1e2ab2711 (diff)
Merge branch 'master' of https://github.com/browngraphicslab/Dash-Web
Diffstat (limited to 'src/server/ApiManagers/DownloadManager.ts')
-rw-r--r--src/server/ApiManagers/DownloadManager.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/ApiManagers/DownloadManager.ts b/src/server/ApiManagers/DownloadManager.ts
index fad5e6789..01d2dfcad 100644
--- a/src/server/ApiManagers/DownloadManager.ts
+++ b/src/server/ApiManagers/DownloadManager.ts
@@ -254,7 +254,7 @@ async function writeHierarchyRecursive(file: Archiver.Archiver, hierarchy: Hiera
// and dropped in the browser and thus hosted remotely) so we upload it
// to our server and point the zip file to it, so it can bundle up the bytes
const information = await DashUploadUtils.UploadImage(result);
- path = information instanceof Error ? "" : information.serverAccessPaths[SizeSuffix.Original];
+ path = information instanceof Error ? "" : information.accessPaths[SizeSuffix.Original].server;
}
// write the file specified by the path to the directory in the
// zip file given by the prefix.