We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d4d45e5 commit 733b841Copy full SHA for 733b841
src/modules/mentorships/dto/mentorship.dto.ts
@@ -24,7 +24,7 @@ export class MentorshipDto {
24
@ApiModelProperty()
25
@IsDefined()
26
@IsString()
27
- @Length(3, 5000)
+ @Length(30, 5000)
28
readonly message: string;
29
30
@ApiModelPropertyOptional()
@@ -33,15 +33,15 @@ export class MentorshipDto {
33
readonly goals: string[];
34
35
36
- @IsOptional()
+ @IsDefined()
37
38
39
readonly expectation: string;
40
41
42
43
44
45
readonly background: string;
46
47
0 commit comments