diff options
| author | Mohammad Amoush <muhammedamoush@gmail.com> | 2019-11-03 15:33:17 -0500 |
|---|---|---|
| committer | Mohammad Amoush <muhammedamoush@gmail.com> | 2019-11-03 15:33:17 -0500 |
| commit | f0aa70db1b0f88a7f42d1e9f86466b08a4522676 (patch) | |
| tree | d909e9e5a754d304f4c3322c96676610765bbe3d /src/new_fields/RichTextUtils.ts | |
| parent | 0de6a6bccc3a1bc8f4513baf082f117e64c74362 (diff) | |
| parent | c53d599f8ecffe173d8df06777721658f065674a (diff) | |
Merge branch 'server_refactor' of https://github.com/browngraphicslab/Dash-Web into server_refactor
Diffstat (limited to 'src/new_fields/RichTextUtils.ts')
| -rw-r--r-- | src/new_fields/RichTextUtils.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/new_fields/RichTextUtils.ts b/src/new_fields/RichTextUtils.ts index 601939ed2..63d718ce8 100644 --- a/src/new_fields/RichTextUtils.ts +++ b/src/new_fields/RichTextUtils.ts @@ -17,7 +17,7 @@ import { Cast, StrCast } from "./Types"; import { Id } from "./FieldSymbols"; import { DocumentView } from "../client/views/nodes/DocumentView"; import { AssertionError } from "assert"; -import { Identified } from "../client/Network"; +import { Networking } from "../client/Network"; export namespace RichTextUtils { @@ -129,7 +129,7 @@ export namespace RichTextUtils { return { baseUrl, filename }; }); - const uploads = await Identified.PostToServer(RouteStore.googlePhotosMediaDownload, { mediaItems }); + const uploads = await Networking.PostToServer(RouteStore.googlePhotosMediaDownload, { mediaItems }); if (uploads.length !== mediaItems.length) { throw new AssertionError({ expected: mediaItems.length, actual: uploads.length, message: "Error with internally uploading inlineObjects!" }); |
