Skip to content

Commit

Permalink
Do not jeopardize insights when merging matches
Browse files Browse the repository at this point in the history
  • Loading branch information
johnmeshulam committed Jan 9, 2025
1 parent a6b1c5a commit d5d3380
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/backend/src/websocket/handlers/field.ts
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ export const handleMergeMatches = async (

await db.updateMatch(
{ _id: new ObjectId(fromMatchId) },
{ participants: fromMatchNewParticipants, status: 'completed' }
{ participants: fromMatchNewParticipants, status: 'completed', startTime: new Date() }
);

await db.updateMatch({ _id: new ObjectId(toMatchId) }, { participants: toMatchNewParticipants });
Expand Down

0 comments on commit d5d3380

Please sign in to comment.