diff options
author | bobzel <zzzman@gmail.com> | 2021-08-01 22:43:46 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2021-08-01 22:43:46 -0400 |
commit | 0546ecf205b7d2b76f341a7157beebf95fb888a8 (patch) | |
tree | 9db70d809b8411a56b69ef568e446d0d25db2e64 /src/client/apis/google_docs/GooglePhotosClientUtils.ts | |
parent | 970ea305fde86c6d33fc08c8880ef258b7b318bc (diff) |
made url server references relative.
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) { |