Skip to content

Commit c17fbbd

Browse files
authored
Merge pull request #1746 from companieshouse/origin/feature/roecct-OLE-principaladdress-log
Debug OLE principal address selection with logging
2 parents b783f62 + 93357d5 commit c17fbbd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/utils/update/psc.to.beneficial.owner.type.mapper.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -260,10 +260,10 @@ export const mapIndividualBOPrivateData = (boPrivateData: BeneficialOwnerPrivate
260260

261261
export const mapCorporateOrGovernmentBOPrivateData = (boPrivateData: BeneficialOwnerPrivateData[], beneficialOwner: BeneficialOwnerOther | BeneficialOwnerGov) => {
262262
for (const boData of boPrivateData) {
263-
console.log("HASHHH_ID" + boData.hashedId + "CH_REERENCEEE" + beneficialOwner.ch_reference );
263+
logger.info(`HASHHH_ID=${boData.hashedId} , CH_REERENCEEE=${beneficialOwner.ch_reference}`);
264264
if (boData.hashedId === beneficialOwner.ch_reference) {
265265
beneficialOwner.principal_address = mapBOMOAddress(boData.principalAddress);
266-
console.log("ENDDDDDD" );
266+
logger.info(`END OF mapCorporateOrGovernmentBOPrivateData`);
267267
}
268268
}
269269
};

0 commit comments

Comments
 (0)