From f40dc57166b6d04f322784a1c388de169852a7c8 Mon Sep 17 00:00:00 2001 From: Sam Wilkins Date: Sat, 28 Sep 2019 04:07:50 -0400 Subject: fixed import issue --- src/new_fields/RichTextUtils.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/new_fields/RichTextUtils.ts b/src/new_fields/RichTextUtils.ts index f3208ce41..601939ed2 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 { PostToServer } from "../client/Network"; +import { Identified } from "../client/Network"; export namespace RichTextUtils { @@ -129,7 +129,7 @@ export namespace RichTextUtils { return { baseUrl, filename }; }); - const uploads = await PostToServer(RouteStore.googlePhotosMediaDownload, { mediaItems }); + const uploads = await Identified.PostToServer(RouteStore.googlePhotosMediaDownload, { mediaItems }); if (uploads.length !== mediaItems.length) { throw new AssertionError({ expected: mediaItems.length, actual: uploads.length, message: "Error with internally uploading inlineObjects!" }); -- cgit v1.2.3-70-g09d2