mirror of
https://github.com/ershisan99/flashcards-api.git
synced 2025-12-16 20:59:26 +00:00
fix login doc
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
import { IsEmail, Length } from 'class-validator'
|
import { IsBoolean, IsEmail, IsOptional, Length } from 'class-validator'
|
||||||
|
|
||||||
export class LoginDto {
|
export class LoginDto {
|
||||||
@Length(3, 30)
|
@Length(3, 30)
|
||||||
@@ -6,4 +6,8 @@ export class LoginDto {
|
|||||||
|
|
||||||
@IsEmail()
|
@IsEmail()
|
||||||
email: string
|
email: string
|
||||||
|
|
||||||
|
@IsBoolean()
|
||||||
|
@IsOptional()
|
||||||
|
rememberMe: boolean
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user