From 65c4c3f87cf103fa00e3cef3d5115b7489b79658 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 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/model/registerConsent.model.ts b/src/model/registerConsent.model.ts index 23ecde62..6560a2c9 100644 --- a/src/model/registerConsent.model.ts +++ b/src/model/registerConsent.model.ts @@ -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 => {