diff options
author | geireann <60007097+geireann@users.noreply.github.com> | 2021-08-02 12:09:22 -0400 |
---|---|---|
committer | geireann <60007097+geireann@users.noreply.github.com> | 2021-08-02 12:09:22 -0400 |
commit | 77c6321843e6f45765155526de49aee4c041a372 (patch) | |
tree | 824aef0756f6bd4d0f8e0b3d1def024455321ed9 /src/client/apis/google_docs/GooglePhotosClientUtils.ts | |
parent | 149b2de414812063bc8c81305f284f74a24481cb (diff) | |
parent | 077723a6863bbb537756180450bdf9addeec021a (diff) |
Merge branch 'master' into aubrey-bugfix
Diffstat (limited to 'src/client/apis/google_docs/GooglePhotosClientUtils.ts')
-rw-r--r-- | src/client/apis/google_docs/GooglePhotosClientUtils.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/apis/google_docs/GooglePhotosClientUtils.ts b/src/client/apis/google_docs/GooglePhotosClientUtils.ts index 899e65a16..ff9460b62 100644 --- a/src/client/apis/google_docs/GooglePhotosClientUtils.ts +++ b/src/client/apis/google_docs/GooglePhotosClientUtils.ts @@ -285,7 +285,7 @@ export namespace GooglePhotos { const photos = await endpoint(); const albumId = StrCast(collection.albumId); if (albumId && albumId.length) { - const enrichment = new photos.TextEnrichment(content || Utils.prepend("/doc/" + collection[Id])); + const enrichment = new photos.TextEnrichment(content || Doc.globalServerPath(collection)); const position = new photos.AlbumPosition(photos.AlbumPosition.POSITIONS.FIRST_IN_ALBUM); const enrichmentItem = await photos.albums.addEnrichment(albumId, enrichment, position); if (enrichmentItem) { |