ok
This commit is contained in:
8
src/users/dto/update-user-name.dto.ts
Normal file
8
src/users/dto/update-user-name.dto.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
import { IsOptional, IsString, MaxLength } from 'class-validator';
|
||||
|
||||
export class UpdateUserNameDto {
|
||||
@IsString()
|
||||
@MaxLength(120)
|
||||
@IsOptional()
|
||||
name?: string;
|
||||
}
|
||||
Reference in New Issue
Block a user