diff options
| author | vkalev <vjk1883@gmail.com> | 2021-08-13 10:15:51 -0400 |
|---|---|---|
| committer | vkalev <vjk1883@gmail.com> | 2021-08-13 10:15:51 -0400 |
| commit | 252c2a9dd86730e05637e1e32e8487cf064e0c98 (patch) | |
| tree | 88c259eeacf6ae4497c3184b6bf3c42d0be2a433 /src/client/apis | |
| parent | b69fe78eadeb2bfa1f284e3e0333734b03b718a9 (diff) | |
| parent | 136b900ed0b939c2a10b601470f764dcb50809ad (diff) | |
Merge branch 'master' into ink-gfx-victor
Diffstat (limited to 'src/client/apis')
| -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) { |
