diff options
| author | Sam Wilkins <samwilkins333@gmail.com> | 2019-09-07 13:19:10 -0400 |
|---|---|---|
| committer | Sam Wilkins <samwilkins333@gmail.com> | 2019-09-07 13:19:10 -0400 |
| commit | d94509864920b2bbe7f4af8837f3af3f721b7dad (patch) | |
| tree | 39553736c764104eb7edb940243474f4b497d20a /src/client/apis | |
| parent | 5d59e9a379417140e10778cd43e8f87ecb816c37 (diff) | |
implemented via context menu
Diffstat (limited to 'src/client/apis')
| -rw-r--r-- | src/client/apis/google_docs/GooglePhotosClientUtils.ts | 4 |
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 2b72800a9..924362c03 100644 --- a/src/client/apis/google_docs/GooglePhotosClientUtils.ts +++ b/src/client/apis/google_docs/GooglePhotosClientUtils.ts @@ -13,8 +13,8 @@ export namespace GooglePhotosClientUtils { export const endpoint = () => fetch(Utils.prepend(RouteStore.googlePhotosAccessToken)).then(async response => new Photos(await response.text())); export interface MediaInput { + url: string; description: string; - source: string; } export const UploadMedia = async (sources: Doc[], album?: AlbumReference) => { @@ -29,7 +29,7 @@ export namespace GooglePhotosClientUtils { return undefined; } media.push({ - source: data.url.href, + url: data.url.href, description, } as MediaInput); }); |
