diff --git a/src/modules/proposal/dto/proposal/user-project/general-project-information.dto.ts b/src/modules/proposal/dto/proposal/user-project/general-project-information.dto.ts index 62fb457..bf6212c 100644 --- a/src/modules/proposal/dto/proposal/user-project/general-project-information.dto.ts +++ b/src/modules/proposal/dto/proposal/user-project/general-project-information.dto.ts @@ -14,7 +14,7 @@ export class GeneralProjectInformationDto extends WithIdForObjectDto { @Expose() @Type(() => Date) @IsDate() - @IsAfterToday() + @IsAfterToday({ groups: [ProposalValidation.IsNotDraft] }) @IsOptional({ groups: [ProposalValidation.IsDraft] }) desiredStartTime: Date;