Skip to content

Commit

Permalink
add more logs
Browse files Browse the repository at this point in the history
  • Loading branch information
skwowet committed Sep 20, 2024
1 parent 747a587 commit 71613b7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions backend/src/services/memberService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1380,7 +1380,7 @@ export default class MemberService extends LoggerBase {
},
}

this.options.log.info('secondary member merge', JSON.stringify(backup.secondary))
this.options.log.info('secondary member merge', JSON.stringify(backup.secondary.affiliations))

await MergeActionsRepository.add(
MergeActionType.MEMBER,
Expand Down Expand Up @@ -1440,8 +1440,8 @@ export default class MemberService extends LoggerBase {

captureNewState({ primary: toUpdate })

this.options.log.info('original member merge', JSON.stringify(original))
this.options.log.info('toUpdate member merge', JSON.stringify(toUpdate))
this.options.log.info('original member merge', JSON.stringify(original.affiliations))
this.options.log.info('toUpdate member merge', JSON.stringify(toUpdate.affiliations))

await txService.update(originalId, toUpdate, {
syncToOpensearch: false,
Expand Down

0 comments on commit 71613b7

Please sign in to comment.