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
1 changed files with 1 additions and 1 deletions

View File

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