mirror of
https://github.com/immich-app/immich.git
synced 2026-03-26 03:28:59 +03:00
fix(server): create shared album from the mobile app does not trigger send email invite (#11911)
* fix(server): create shared album from the mobile app does not trigger send email invite * remove unused value
This commit is contained in:
@@ -138,6 +138,10 @@ export class AlbumService {
|
||||
albumThumbnailAssetId: assets[0]?.id || null,
|
||||
});
|
||||
|
||||
for (const { userId } of albumUsers) {
|
||||
await this.eventRepository.emit('onAlbumInvite', { id: album.id, userId });
|
||||
}
|
||||
|
||||
return mapAlbumWithAssets(album);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user