Browse Source

fix(common): accept undefined for value in update property DTO

pull/6886/head
KenTandrian 1 week ago
parent
commit
9416bc21e8
  1. 2
      libs/common/src/lib/dtos/update-property.dto.ts

2
libs/common/src/lib/dtos/update-property.dto.ts

@ -3,5 +3,5 @@ import { IsOptional, IsString } from 'class-validator';
export class UpdatePropertyDto { export class UpdatePropertyDto {
@IsOptional() @IsOptional()
@IsString() @IsString()
value: string; value?: string;
} }

Loading…
Cancel
Save