update username

This commit is contained in:
sbriat
2023-07-07 17:50:49 +02:00
parent 28c6ca0f63
commit 805a7fe24d
14 changed files with 372 additions and 3 deletions

View File

@@ -0,0 +1,8 @@
import { IsNotEmpty, IsString } from 'class-validator';
import { UsernameDto } from './username.dto';
export class UpdateUsernameRequestDto extends UsernameDto {
@IsString()
@IsNotEmpty()
userId: string;
}