mirror of
https://github.com/immich-app/immich.git
synced 2026-03-26 03:28:59 +03:00
@@ -239,7 +239,7 @@ export class AlbumService {
|
||||
throw new BadRequestException('User not found');
|
||||
}
|
||||
|
||||
await this.albumUserRepository.create({ userId: userId, albumId: id, role });
|
||||
await this.albumUserRepository.create({ userId, albumId: id, role });
|
||||
await this.eventRepository.emit('album.invite', { id, userId });
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user