From 0296f7c8174fe98f4afb9dae5d4aefa70586a22f Mon Sep 17 00:00:00 2001 From: Kevin Leyow Date: Fri, 9 Jul 2021 22:49:32 -0500 Subject: [PATCH] chore: add debug logging --- src/model/registerConsent.model.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/model/registerConsent.model.ts b/src/model/registerConsent.model.ts index 23ecde62..d9562c4d 100644 --- a/src/model/registerConsent.model.ts +++ b/src/model/registerConsent.model.ts @@ -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')