From 1e1fd97b3829f107e2d2ff7db87579db361f909a Mon Sep 17 00:00:00 2001 From: Alex Date: Mon, 16 Jan 2023 14:37:18 -0600 Subject: [PATCH] fix(web) fix cannot add uploaded asset to a shared album (#1338) --- web/src/lib/utils/file-uploader.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/lib/utils/file-uploader.ts b/web/src/lib/utils/file-uploader.ts index 5c6949c224..00523df27a 100644 --- a/web/src/lib/utils/file-uploader.ts +++ b/web/src/lib/utils/file-uploader.ts @@ -134,7 +134,7 @@ async function fileUploader( if (data.isExist) { const dataId = data.id; if (albumId && dataId) { - addAssetsToAlbum(albumId, [dataId]); + addAssetsToAlbum(albumId, [dataId], sharedKey); } onDone && dataId && onDone(dataId); return;