1 parent
f085517732
commit
46903e9ec5
17 files changed
+366
-6
No files matched your search
@@ -0,0 +1,9 @@
|
||||
import { IsNotEmpty, IsString, MaxLength } from 'class-validator';
|
||||
|
||||
export class SetAvatarRequestDto {
|
||||
/** id картинки, загруженной через POST /files */
|
||||
@IsString()
|
||||
@IsNotEmpty()
|
||||
@MaxLength(64)
|
||||
fileId: string;
|
||||
}
|
||||
Reference in new issue
Block a user