chore: object shorthand linting rule (#12152)

chore: object shorthand
This commit is contained in:
Jason Rasmussen
2024-08-30 14:38:53 -04:00
committed by GitHub
parent 40854f358c
commit 5e6ac87eaf
23 changed files with 30 additions and 28 deletions

View File

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