Skip to content

Commit

Permalink
chore: add debug logging
Browse files Browse the repository at this point in the history
  • Loading branch information
kleyow committed Jul 10, 2021
1 parent d983982 commit 0296f7c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/model/registerConsent.model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,9 @@ export class RegisterConsentModel
const payload: fspiopAPI.Schemas.ParticipantsTypeIDSubIDPostRequest = {
fspId: this.config.authServiceParticipantFSPId
}
console.log({ alsParticipantURI, payload, axiosConfig })
this.logger.push({ alsParticipantURI, payload, axiosConfig })
.log('Testing')
const res = await axios.post(alsParticipantURI, payload, axiosConfig)
this.logger.push({ res, channel })
.log('POST /participants/{Type}/{ID} call sent to ALS, listening on response')
Expand Down

0 comments on commit 0296f7c

Please sign in to comment.