aboutsummaryrefslogtreecommitdiff
path: root/src/client/apis/google_docs/GooglePhotosClientUtils.ts
diff options
context:
space:
mode:
authorSam Wilkins <samwilkins333@gmail.com>2019-09-11 16:45:25 -0400
committerSam Wilkins <samwilkins333@gmail.com>2019-09-11 16:45:25 -0400
commit4b48a688a517579c570a331a915b6737184b96c9 (patch)
tree289021097f98639dd6a510b9d3cf8a62c14def35 /src/client/apis/google_docs/GooglePhotosClientUtils.ts
parent0de9ddac733feb84f857d7c381e27dd196c7f191 (diff)
function rename
Diffstat (limited to 'src/client/apis/google_docs/GooglePhotosClientUtils.ts')
-rw-r--r--src/client/apis/google_docs/GooglePhotosClientUtils.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/apis/google_docs/GooglePhotosClientUtils.ts b/src/client/apis/google_docs/GooglePhotosClientUtils.ts
index ff254a770..118462778 100644
--- a/src/client/apis/google_docs/GooglePhotosClientUtils.ts
+++ b/src/client/apis/google_docs/GooglePhotosClientUtils.ts
@@ -105,7 +105,7 @@ export namespace GooglePhotos {
}
collection.googlePhotosIdMapping = idMapping;
if (tag) {
- await Query.AppendImageMetadata(collection);
+ await Query.TagChildImages(collection);
}
return { albumId: id, mediaItems };
}
@@ -134,7 +134,7 @@ export namespace GooglePhotos {
export namespace Query {
- export const AppendImageMetadata = async (collection: Doc) => {
+ export const TagChildImages = async (collection: Doc) => {
const idMapping = await Cast(collection.googlePhotosIdMapping, Doc);
if (!idMapping) {
throw new Error("Appending image metadata requires that the targeted collection have already been mapped to an album!");