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 65c4c3f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/model/registerConsent.model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -173,8 +173,9 @@ export class RegisterConsentModel
const payload: fspiopAPI.Schemas.ParticipantsTypeIDSubIDPostRequest = {
fspId: this.config.authServiceParticipantFSPId
}
const res = await axios.post(alsParticipantURI, payload, axiosConfig)
this.logger.push({ res, channel })
await axios.post(alsParticipantURI, payload, axiosConfig)
console.log({ alsParticipantURI, payload, axiosConfig })
this.logger.push({ alsParticipantURI, payload, axiosConfig })
.log('POST /participants/{Type}/{ID} call sent to ALS, listening on response')
})
.job(async (message: Message): Promise<void> => {
Expand Down

0 comments on commit 65c4c3f

Please sign in to comment.