diff options
author | Sam Wilkins <samwilkins333@gmail.com> | 2019-10-29 20:00:54 -0400 |
---|---|---|
committer | Sam Wilkins <samwilkins333@gmail.com> | 2019-10-29 20:00:54 -0400 |
commit | af25eaf2a848278a58f0993cba2e68c05da0760c (patch) | |
tree | c8065f52b1fadd7f8c18a08bfec4289380e2e29e /src/new_fields | |
parent | ba7568e4fe2e9323a66a91876305f829487bffb9 (diff) |
comments and fixes for google photos server sid
Diffstat (limited to 'src/new_fields')
-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!" }); |