forked from Chatbot/v3-api
first commit v3 initialiazed a temporary repository for darmanet client
This commit is contained in:
12
src/common/dto/resetPassword.dto.ts
Normal file
12
src/common/dto/resetPassword.dto.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
import { ApiProperty } from '@nestjs/swagger';
|
||||
import { IsString, IsStrongPassword } from 'class-validator';
|
||||
|
||||
export class ResetPasswordDTO {
|
||||
@ApiProperty()
|
||||
@IsString()
|
||||
resetToken: string;
|
||||
|
||||
@ApiProperty()
|
||||
@IsStrongPassword()
|
||||
newPassword: string;
|
||||
}
|
||||
Reference in New Issue
Block a user