Skip to content

Commit 2871488

Browse files
authored
Merge pull request #111 from topcoder-platform/ai-workflow-fixes
Fix create run params
2 parents 7a7f753 + fa4fa85 commit 2871488

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/dto/aiWorkflow.dto.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,12 +73,14 @@ export class CreateAiWorkflowRunDto {
7373
submissionId: string;
7474

7575
@ApiProperty()
76+
@IsOptional()
7677
@IsDate()
7778
@IsNotEmpty()
7879
@Transform(({ value }) => new Date(value))
79-
startedAt: Date;
80+
startedAt?: Date;
8081

8182
@ApiProperty()
83+
@IsOptional()
8284
@IsDate()
8385
@IsNotEmpty()
8486
@Transform(({ value }) => (value ? new Date(value) : undefined))

0 commit comments

Comments
 (0)