From 9416bc21e8b4872fa3c0808ee5e6fc8fdcfaf90d Mon Sep 17 00:00:00 2001 From: KenTandrian Date: Sun, 17 May 2026 11:33:48 +0700 Subject: [PATCH] fix(common): accept undefined for value in update property DTO --- libs/common/src/lib/dtos/update-property.dto.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/common/src/lib/dtos/update-property.dto.ts b/libs/common/src/lib/dtos/update-property.dto.ts index 77115759a..befb26ab2 100644 --- a/libs/common/src/lib/dtos/update-property.dto.ts +++ b/libs/common/src/lib/dtos/update-property.dto.ts @@ -3,5 +3,5 @@ import { IsOptional, IsString } from 'class-validator'; export class UpdatePropertyDto { @IsOptional() @IsString() - value: string; + value?: string; }