Skip to content

Commit

Permalink
fix: Update task duration property to be optional
Browse files Browse the repository at this point in the history
  • Loading branch information
thales-fukuda committed Oct 31, 2023
1 parent 3416082 commit 4b6a841
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/types/entities.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,10 @@ export const Task = Record({
createdAt: String,
url: String,
creatorId: String,
duration: Duration.Or(Null),
}).And(
Partial({
due: DueDate.Or(Null),
duration: Duration.Or(Null),
assigneeId: String.Or(Null),
assignerId: String.Or(Null),
parentId: String.Or(Null),
Expand Down

0 comments on commit 4b6a841

Please sign in to comment.