From 5e0a9ed9a0c473885637c77da689b4a82b59e124 Mon Sep 17 00:00:00 2001 From: kirti763 Date: Wed, 7 May 2025 18:22:53 +0530 Subject: [PATCH 1/4] Started working on proof id trim issue From 6591626eac6d1e9da00e0b985c087f5ba65334e3 Mon Sep 17 00:00:00 2001 From: Kirti Goyal <94823738+kirti763@users.noreply.github.com> Date: Wed, 7 May 2025 18:58:27 +0530 Subject: [PATCH 2/4] Create README.md Signed-off-by: Kirti Goyal <94823738+kirti763@users.noreply.github.com> --- README.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 000000000..f366869a8 --- /dev/null +++ b/README.md @@ -0,0 +1 @@ +An empty draft pr From ee7be0ec05d5c4d9d4ebc87308c5275cc5c81667 Mon Sep 17 00:00:00 2001 From: kirti763 Date: Wed, 7 May 2025 19:16:27 +0530 Subject: [PATCH 3/4] temp update to trigger draft PR --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index f366869a8..0cf1f520e 100644 --- a/README.md +++ b/README.md @@ -1 +1,2 @@ An empty draft pr +Temporary change to create draft prS \ No newline at end of file From c03083c0be6336f782948bee8430b50ba3d94b3e Mon Sep 17 00:00:00 2001 From: kirti763 Date: Mon, 12 May 2025 05:18:37 +0530 Subject: [PATCH 4/4] fix: trim proofId to avoid 500 error on verify endpoint --- apps/api-gateway/src/verification/verification.controller.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/api-gateway/src/verification/verification.controller.ts b/apps/api-gateway/src/verification/verification.controller.ts index 9a0258946..232ee0e92 100644 --- a/apps/api-gateway/src/verification/verification.controller.ts +++ b/apps/api-gateway/src/verification/verification.controller.ts @@ -373,9 +373,10 @@ export class VerificationController { async verifyPresentation( @Res() res: Response, @User() user: IUserRequest, - @Param('proofId') proofId: string, + @Param('proofId') rawProofId: string, @Param('orgId') orgId: string ): Promise { + const proofID = rawProofID.trim(); const verifyData = await this.verificationService.verifyPresentation(proofId, orgId, user); const finalResponse: IResponse = { statusCode: HttpStatus.CREATED,