Skip to content

Commit

Permalink
feat: add console.log statements
Browse files Browse the repository at this point in the history
  • Loading branch information
wanlingt committed Oct 18, 2023
1 parent 86d5b3b commit 64229fa
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
1 change: 1 addition & 0 deletions src/app/modules/myinfo/myinfo.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,7 @@ export class MyInfoServiceClass {
}

const prefilledField = cloneDeep(field) as PossiblyPrefilledField
console.log('prefilledField: ', prefilledField)
prefilledField.fieldValue = fieldValue
// Disable field
prefilledField.disabled = isReadOnly
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -244,12 +244,16 @@ const submitEmailModeForm: ControllerHandler<
.andThen(MyInfoService.verifyLoginJwt)
.asyncAndThen(({ uinFin }) =>
MyInfoService.fetchMyInfoHashes(uinFin, formId)
.andThen((hashes) =>
MyInfoService.checkMyInfoHashes(
.andThen((hashes) => {
console.log(
'parsedResponses.responses: ',
parsedResponses.responses,
)
return MyInfoService.checkMyInfoHashes(
parsedResponses.responses,
hashes,
),
)
)
})
.map<IPopulatedEmailFormWithResponsesAndHash>(
(hashedFields) => ({
form,
Expand Down

0 comments on commit 64229fa

Please sign in to comment.