Skip to content

Commit c6c3137

Browse files
fix: Update task duration property to be optional (#246)
1 parent 3416082 commit c6c3137

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/types/entities.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,10 @@ export const Task = Record({
6161
createdAt: String,
6262
url: String,
6363
creatorId: String,
64-
duration: Duration.Or(Null),
6564
}).And(
6665
Partial({
6766
due: DueDate.Or(Null),
67+
duration: Duration.Or(Null),
6868
assigneeId: String.Or(Null),
6969
assignerId: String.Or(Null),
7070
parentId: String.Or(Null),

0 commit comments

Comments
 (0)