From 540f06006766ebf3a7842a9138e5e3ca54dce774 Mon Sep 17 00:00:00 2001 From: Ignas-rgb <61393113+Ignas-rgb@users.noreply.github.com> Date: Mon, 10 Jun 2024 13:55:04 +0300 Subject: [PATCH] Update field properties --- src/admin/dto/full-report.dto.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/admin/dto/full-report.dto.ts b/src/admin/dto/full-report.dto.ts index bb50705..da5f014 100644 --- a/src/admin/dto/full-report.dto.ts +++ b/src/admin/dto/full-report.dto.ts @@ -26,11 +26,11 @@ export class FullReportDto { @ApiProperty() email: string; - @ApiProperty() - inspection: string; + @ApiProperty({ nullable: true }) + inspection?: string; - @ApiProperty() - inspectionId: string; + @ApiProperty({ nullable: true }) + inspectionId?: string; @ApiProperty() @ToBoolean() @@ -40,9 +40,9 @@ export class FullReportDto { @ToBoolean() isDeleted: boolean; - @ApiProperty() + @ApiProperty({ nullable: true }) @ToBoolean() - isTransferred: boolean; + isTransferred?: boolean; @ApiProperty() comment: string;