From bc80be947d073296010d13c9ec1b225e45f8869b Mon Sep 17 00:00:00 2001 From: Nicolai Ort Date: Thu, 10 Dec 2020 17:42:49 +0100 Subject: [PATCH] Fixed optional property ref #13 #17 --- src/models/actions/CreateParticipant.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/models/actions/CreateParticipant.ts b/src/models/actions/CreateParticipant.ts index 9cd51ce..1bc45ac 100644 --- a/src/models/actions/CreateParticipant.ts +++ b/src/models/actions/CreateParticipant.ts @@ -17,7 +17,7 @@ export abstract class CreateParticipant { * Optional. */ @IsString() - @IsNotEmpty() + @IsOptional() middlename?: string; /**