Skip to content

Commit

Permalink
use both secondaryMember and payload data
Browse files Browse the repository at this point in the history
  • Loading branch information
skwowet committed Sep 12, 2024
1 parent f5b0835 commit bb09d6c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion backend/src/services/memberService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -882,7 +882,10 @@ export default class MemberService extends LoggerBase {

captureNewState({
primary: payload.primary,
secondary: secondaryMember,
secondary: {
...payload.secondary,
...secondaryMember,
},
})

// update rest of the primary member fields
Expand Down

0 comments on commit bb09d6c

Please sign in to comment.