diff --git a/server/src/nest/places-library/place-votes.service.ts b/server/src/nest/places-library/place-votes.service.ts index 63052b00a..7d350425c 100644 --- a/server/src/nest/places-library/place-votes.service.ts +++ b/server/src/nest/places-library/place-votes.service.ts @@ -220,7 +220,10 @@ export class PlaceVotesService implements OnModuleInit { } } - /** Registers the joins of lists and trips (join-listeners.ts). */ + /** + * Registers the joins of lists and trips (join-listeners.ts). + * @txIndependent only registers the listeners; each join carries its votes in a transaction of its own (joined). + */ onModuleInit(): void { this.collections.joins.add((collectionId, userId) => this.joined({ kind: 'list', id: collectionId }, userId)); this.membership.joins.add((tripId, userId) => this.joined({ kind: 'trip', id: tripId }, userId));