aboutsummaryrefslogtreecommitdiff
path: root/src/client/apis/google_docs/GooglePhotosClientUtils.ts
diff options
context:
space:
mode:
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!");