Fixed optional property

ref #13 #17
This commit is contained in:
Nicolai Ort 2020-12-10 17:42:49 +01:00
parent 429041fef1
commit bc80be947d

View File

@ -17,7 +17,7 @@ export abstract class CreateParticipant {
* Optional. * Optional.
*/ */
@IsString() @IsString()
@IsNotEmpty() @IsOptional()
middlename?: string; middlename?: string;
/** /**