fix issues
This commit is contained in:
@@ -25,15 +25,25 @@ export class AuthSessionDTO {
|
||||
|
||||
export class SignupParamsDTO {
|
||||
@ApiProperty()
|
||||
@IsEmail()
|
||||
email!: string;
|
||||
|
||||
@ApiProperty()
|
||||
@IsString()
|
||||
@MinLength(8)
|
||||
password!: string;
|
||||
|
||||
@ApiProperty()
|
||||
@IsString()
|
||||
@MinLength(2)
|
||||
displayName!: string;
|
||||
|
||||
@ApiProperty({ required: false })
|
||||
iracingCustomerId?: string;
|
||||
|
||||
@ApiProperty({ required: false })
|
||||
primaryDriverId?: string;
|
||||
|
||||
@ApiProperty({ required: false, nullable: true })
|
||||
avatarUrl?: string | null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user