Skip to content

Commit 5a95d58

Browse files
committed
fix:added logs for parentThreadId in proof Request
1 parent 858334f commit 5a95d58

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/controllers/multi-tenancy/MultiTenancyController.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1643,7 +1643,7 @@ export class MultiTenancyController extends Controller {
16431643
autoAcceptProof: createRequestOptions.autoAcceptProof,
16441644
comment: createRequestOptions.comment,
16451645
})
1646-
1646+
console.log(`-----------createProofRequest`,JSON.stringify(proof,null,2));
16471647
const proofMessage = proof.message
16481648
const outOfBandRecord = await tenantAgent.oob.createInvitation({
16491649
label: createRequestOptions.label,
@@ -1672,6 +1672,7 @@ export class MultiTenancyController extends Controller {
16721672
}
16731673
})
16741674

1675+
console.log(`-----------createProofRequest oobProofRecord`,JSON.stringify(oobProofRecord,null,2));
16751676
return oobProofRecord
16761677
} catch (error) {
16771678
return internalServerError(500, { message: `something went wrong: ${error}` })

src/events/ProofEvents.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ export const proofEvents = async (agent: Agent, config: ServerConfig) => {
1616
})
1717
const data = await tenantAgent.proofs.getFormatData(record.id)
1818
body.proofData = data
19+
console.log(`body:`,JSON.stringify(body,null,2));
1920
}
2021

2122
// Only send webhook if webhook url is configured

0 commit comments

Comments
 (0)