diff options
author | Bob Zeleznik <zzzman@gmail.com> | 2020-04-12 00:31:39 -0400 |
---|---|---|
committer | Bob Zeleznik <zzzman@gmail.com> | 2020-04-12 00:31:39 -0400 |
commit | 1817a8726b23eabb893314239da6d340ecee9299 (patch) | |
tree | d35a64a09db0243b61ea62eb47022e8cd2aed563 /src/client/util/Import & Export/ImageUtils.ts | |
parent | bd70f0e07e7d578c4ecb544f0e5b1ad16132fc05 (diff) | |
parent | 7f624f5a526c09172d450419e2bc84604a7949ad (diff) |
merged
Diffstat (limited to 'src/client/util/Import & Export/ImageUtils.ts')
-rw-r--r-- | src/client/util/Import & Export/ImageUtils.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/util/Import & Export/ImageUtils.ts b/src/client/util/Import & Export/ImageUtils.ts index 135454a33..9fae5ff93 100644 --- a/src/client/util/Import & Export/ImageUtils.ts +++ b/src/client/util/Import & Export/ImageUtils.ts @@ -20,7 +20,7 @@ export namespace ImageUtils { nativeHeight, exifData: { error, data } } = await Networking.PostToServer("/inspectImage", { source }); - document.exif = error || Docs.Get.DocumentHierarchyFromJson(data, "", undefined, false); + document.exif = error || Docs.Get.FromJson({ data }); const proto = Doc.GetProto(document); proto["data-nativeWidth"] = nativeWidth; proto["data-nativeHeight"] = nativeHeight; |