diff --git a/src/modules/auth/dto/update-user-data.dto.ts b/src/modules/auth/dto/update-user-data.dto.ts index dd38250..9429874 100644 --- a/src/modules/auth/dto/update-user-data.dto.ts +++ b/src/modules/auth/dto/update-user-data.dto.ts @@ -1,14 +1,12 @@ -import { ApiProperty, PickType, PartialType } from '@nestjs/swagger' +import { PartialType, PickType } from '@nestjs/swagger' import { IsOptional } from 'class-validator' import { User } from '../entities/auth.entity' export class UpdateUserDataDto extends PartialType(PickType(User, ['name', 'avatar'] as const)) { @IsOptional() - @ApiProperty({ required: false }) avatar?: string @IsOptional() - @ApiProperty({ required: false }) name?: string }