fix issues
This commit is contained in:
@@ -50,8 +50,11 @@ export class SignupParamsDTO {
|
||||
|
||||
export class LoginParamsDTO {
|
||||
@ApiProperty()
|
||||
@IsEmail()
|
||||
email!: string;
|
||||
|
||||
@ApiProperty()
|
||||
@IsString()
|
||||
password!: string;
|
||||
}
|
||||
|
||||
@@ -64,10 +67,15 @@ export class IracingAuthRedirectResultDTO {
|
||||
|
||||
export class LoginWithIracingCallbackParamsDTO {
|
||||
@ApiProperty()
|
||||
@IsString()
|
||||
code!: string;
|
||||
|
||||
@ApiProperty()
|
||||
@IsString()
|
||||
state!: string;
|
||||
|
||||
@ApiProperty({ required: false })
|
||||
@IsString()
|
||||
returnTo?: string;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user