diff options
| author | Mohammad Amoush <muhammedamoush@gmail.com> | 2019-11-12 17:11:20 -0500 |
|---|---|---|
| committer | Mohammad Amoush <muhammedamoush@gmail.com> | 2019-11-12 17:11:20 -0500 |
| commit | 2ea0efa91072c98c185f957d8040edde2cdb4e5e (patch) | |
| tree | 78576c68be7e1c157b0d293d6048a86652bf1ede /src/new_fields | |
| parent | 341a4201997a27adeace7cb3fad48ce83b8008a7 (diff) | |
| parent | 63ea273820eb5ab8388e2744fc7988f10746f25f (diff) | |
added new managers to index
Diffstat (limited to 'src/new_fields')
| -rw-r--r-- | src/new_fields/RichTextUtils.ts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/new_fields/RichTextUtils.ts b/src/new_fields/RichTextUtils.ts index 63d718ce8..238b27439 100644 --- a/src/new_fields/RichTextUtils.ts +++ b/src/new_fields/RichTextUtils.ts @@ -8,7 +8,6 @@ import { Opt, Doc } from "./Doc"; import Color = require('color'); import { sinkListItem } from "prosemirror-schema-list"; import { Utils } from "../Utils"; -import { RouteStore } from "../server/RouteStore"; import { Docs } from "../client/documents/Documents"; import { schema } from "../client/util/RichTextSchema"; import { GooglePhotos } from "../client/apis/google_docs/GooglePhotosClientUtils"; @@ -129,7 +128,7 @@ export namespace RichTextUtils { return { baseUrl, filename }; }); - const uploads = await Networking.PostToServer(RouteStore.googlePhotosMediaDownload, { mediaItems }); + const uploads = await Networking.PostToServer("/googlePhotosMediaDownload", { mediaItems }); if (uploads.length !== mediaItems.length) { throw new AssertionError({ expected: mediaItems.length, actual: uploads.length, message: "Error with internally uploading inlineObjects!" }); |
