Skip to content

The open alternative to Salesforce, designed for AI.

Fix participant matching failing due to updating all columns instead of only changed fields (#18105)

neo773712b1553bde0
diff --git a/packages/twenty-server/src/modules/match-participant/match-participant.service.ts b/packages/twenty-server/src/modules/match-participant/match-participant.service.ts
index 1379a439fe5..f6d8c5080a1 100644
--- a/packages/twenty-server/src/modules/match-participant/match-participant.service.ts
+++ b/packages/twenty-server/src/modules/match-participant/match-participant.service.ts
@@ -186,7 +186,10 @@ export class MatchParticipantService<
await participantRepository.updateMany(
partipantsToBeUpdated.map((participant) => ({
criteria: participant.id,
- partialEntity: participant,
+ partialEntity: {
+ personId: participant.personId,
+ workspaceMemberId: participant.workspaceMemberId,
+ },
})),
);