Skip to content

Commit 9c7db6f

Browse files
committed
fix(backend): Query params user_id to number for verify email
1 parent d4f9910 commit 9c7db6f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/shared/src/auth/auth.dto.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ export class VerifyConfirmEmailAuthQuery {
8686

8787
@ApiProperty()
8888
@IsNumber()
89+
@Transform(({ value }) => +value)
8990
user_id: number;
9091
}
9192

0 commit comments

Comments
 (0)