1
0
mirror of https://github.com/immich-app/immich.git synced 2024-12-25 10:43:13 +02:00

fix(web) fix cannot add uploaded asset to a shared album (#1338)

This commit is contained in:
Alex 2023-01-16 14:37:18 -06:00 committed by GitHub
parent 1e2f02613f
commit 1e1fd97b38
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;