From 39cdfffe193d49ae3aff4536358a8be56c88eaf1 Mon Sep 17 00:00:00 2001 From: Andres Date: Mon, 7 Aug 2023 14:52:17 +0200 Subject: [PATCH] fix login doc --- src/modules/auth/dto/login.dto.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/modules/auth/dto/login.dto.ts b/src/modules/auth/dto/login.dto.ts index 8c4f12e..ec1a48e 100644 --- a/src/modules/auth/dto/login.dto.ts +++ b/src/modules/auth/dto/login.dto.ts @@ -1,4 +1,4 @@ -import { IsEmail, Length } from 'class-validator' +import { IsBoolean, IsEmail, IsOptional, Length } from 'class-validator' export class LoginDto { @Length(3, 30) @@ -6,4 +6,8 @@ export class LoginDto { @IsEmail() email: string + + @IsBoolean() + @IsOptional() + rememberMe: boolean }