From 7914a9290edff5f46d66cc61cf87d45dbdc4577a Mon Sep 17 00:00:00 2001 From: "rinkal.bhojani" Date: Thu, 29 Aug 2024 14:52:19 +0530 Subject: [PATCH] fix: added parentThreadId in webhook response of proof request --- apps/api-gateway/src/verification/dto/webhook-proof.dto.ts | 4 ++++ apps/verification/src/interfaces/verification.interface.ts | 1 + 2 files changed, 5 insertions(+) diff --git a/apps/api-gateway/src/verification/dto/webhook-proof.dto.ts b/apps/api-gateway/src/verification/dto/webhook-proof.dto.ts index 960fbbf13..9bb670c53 100644 --- a/apps/api-gateway/src/verification/dto/webhook-proof.dto.ts +++ b/apps/api-gateway/src/verification/dto/webhook-proof.dto.ts @@ -41,6 +41,10 @@ export class WebhookPresentationProofDto { @IsOptional() threadId: string; + @ApiPropertyOptional() + @IsOptional() + parentThreadId?: string; + @ApiPropertyOptional() @IsOptional() presentationId: string; diff --git a/apps/verification/src/interfaces/verification.interface.ts b/apps/verification/src/interfaces/verification.interface.ts index fc13bdf66..22bb11ce9 100644 --- a/apps/verification/src/interfaces/verification.interface.ts +++ b/apps/verification/src/interfaces/verification.interface.ts @@ -206,6 +206,7 @@ export interface IWebhookProofPresentation { connectionId: string; presentationId: string; threadId: string; + parentThreadId?: string; autoAcceptProof: string; updatedAt: string; isVerified: boolean;