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;