From be7122fbb9a06b34d3f1594480710d19995c5ace Mon Sep 17 00:00:00 2001 From: rustdreamer Date: Tue, 22 Aug 2023 10:42:05 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=AD=97=E7=AC=A6=E4=B8=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app.controller.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app.controller.ts b/src/app.controller.ts index ff67af6..fe87b75 100644 --- a/src/app.controller.ts +++ b/src/app.controller.ts @@ -136,7 +136,7 @@ export class CreateVisitor { public visitor_list: VisitorList[]; @ApiProperty({ description: "访客是否有可能接触受控设备" }) - @IsBoolean() + @IsString() @IsNotEmpty() public may_access_sensitive_info: string; }