Skip to content

Commit

Permalink
Merge pull request #18 from Bhutan-NDI/fix/wh-parentThreadId-proofReq…
Browse files Browse the repository at this point in the history
…uest

fix: added logs to debug parentThreadId
  • Loading branch information
RinkalBhojani authored Sep 2, 2024
2 parents 00e4edf + e4f94f9 commit dd29e0f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions apps/agent-service/src/agent-service.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1398,6 +1398,7 @@ export class AgentServiceService {
): Promise<object> {
try {
const getApiKey = await this.getOrgAgentApiKey(orgId);
this.logger.log(`sendOutOfBandProofRequest: payload: ${JSON.stringify(proofRequestPayload)}`);
const sendProofRequest = await this.commonService
.httpPost(url, proofRequestPayload, { headers: { authorization: getApiKey } })
.then(async (response) => response);
Expand Down
1 change: 1 addition & 0 deletions apps/verification/src/verification.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -526,6 +526,7 @@ export class VerificationService {
cmd: 'agent-send-out-of-band-proof-request'
};

this.logger.log(`_sendOutOfBandProofRequest: nats call payload: ${JSON.stringify(payload)}`);
return await this.natsCall(pattern, payload);

} catch (error) {
Expand Down

0 comments on commit dd29e0f

Please sign in to comment.