src/auth/dtos/mfa-enable-user.dto.ts
Properties |
Type : string
|
Decorators :
@ApiProperty({type: 'string', required: true})
|
|
Defined in src/auth/dtos/mfa-enable-user.dto.ts:10
|
import { ApiProperty } from "@nestjs/swagger";
import { IsEmail } from "class-validator";
export class MfaEnableUserDto {
@ApiProperty({
type: "string",
required: true,
})
@IsEmail()
email: string;
}