Skip to content

Commit 90e7534

Browse files
committed
fix: add logs
1 parent 52a22b5 commit 90e7534

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

services/libs/data-access-layer/src/members/organizations.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -615,6 +615,9 @@ export async function mergeRoles(
615615
override: IMemberOrganizationAffiliationOverride
616616
}[] = []
617617

618+
log.info(`primaryRoles: ${JSON.stringify(primaryRoles)}`)
619+
log.info(`secondaryRoles: ${JSON.stringify(secondaryRoles)}`)
620+
618621
// if dateEnd and dateStart isn't available, we don't need to move but delete it from org2
619622
for (const memberOrganization of secondaryRoles) {
620623
if (memberOrganization.dateStart === null && memberOrganization.dateEnd === null) {

0 commit comments

Comments
 (0)