diff options
author | Sam Wilkins <samwilkins333@gmail.com> | 2019-09-28 04:07:50 -0400 |
---|---|---|
committer | Sam Wilkins <samwilkins333@gmail.com> | 2019-09-28 04:07:50 -0400 |
commit | f40dc57166b6d04f322784a1c388de169852a7c8 (patch) | |
tree | 9ec16cb57cf8c3324d69253ece5c90968b0e1429 /src | |
parent | 9774aeeef8d2ce85ebfecabdd3acd6d045a222e8 (diff) |
fixed import issue
Diffstat (limited to 'src')
-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 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!" }); |