Skip to content

Commit

Permalink
fix:修复接口必须传email值的问题 (#60)
Browse files Browse the repository at this point in the history
  • Loading branch information
yz1311 authored Aug 4, 2024
1 parent 9782f64 commit 4474b39
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/modules/auth/dto/account.dto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ export class AccountUpdateDto {
nickname: string

@ApiProperty({ description: '用户邮箱' })
@IsOptional()
@IsEmail()
email: string

Expand Down

0 comments on commit 4474b39

Please sign in to comment.