From 9c7db6fbfdd5742436652363ff96b6246c0d5203 Mon Sep 17 00:00:00 2001 From: aXenDeveloper Date: Mon, 6 Jan 2025 22:04:21 +0100 Subject: [PATCH] fix(backend): Query params user_id to number for verify email --- packages/shared/src/auth/auth.dto.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/shared/src/auth/auth.dto.ts b/packages/shared/src/auth/auth.dto.ts index 74d92e78e..3f1252c9a 100644 --- a/packages/shared/src/auth/auth.dto.ts +++ b/packages/shared/src/auth/auth.dto.ts @@ -86,6 +86,7 @@ export class VerifyConfirmEmailAuthQuery { @ApiProperty() @IsNumber() + @Transform(({ value }) => +value) user_id: number; }