aboutsummaryrefslogtreecommitdiff
path: root/src/client/util/reportManager/reportManagerUtils.ts
diff options
context:
space:
mode:
authorSophie Zhang <sophie_zhang@brown.edu>2023-07-27 13:39:22 -0400
committerSophie Zhang <sophie_zhang@brown.edu>2023-07-27 13:39:22 -0400
commit955ca75035aaa223fc8bc07416ca4c31e7a9d1c2 (patch)
tree66920ed6107db1cd982387eedcb74d673be752ba /src/client/util/reportManager/reportManagerUtils.ts
parentea217200f1c42e4d4b142abc9abd55ca49535c49 (diff)
removed new endpoint for now
Diffstat (limited to 'src/client/util/reportManager/reportManagerUtils.ts')
-rw-r--r--src/client/util/reportManager/reportManagerUtils.ts5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/client/util/reportManager/reportManagerUtils.ts b/src/client/util/reportManager/reportManagerUtils.ts
index d8344220f..45727e203 100644
--- a/src/client/util/reportManager/reportManagerUtils.ts
+++ b/src/client/util/reportManager/reportManagerUtils.ts
@@ -110,10 +110,7 @@ export const getServerPath = (link: any): string => {
export const uploadFilesToServer = async (mediaFiles: FileData[]): Promise<string[] | undefined> => {
try {
// need to always upload to browndash
- const links = await Networking.UploadFilesToServer(
- mediaFiles.map(file => ({ file: file.file })),
- true
- );
+ const links = await Networking.UploadFilesToServer(mediaFiles.map(file => ({ file: file.file })));
return (links ?? []).map(getServerPath).map(fileLinktoServerLink);
} catch (err) {
if (err instanceof Error) {