From c6c3137f30cc706c9033b7c30baa761f86cb7c97 Mon Sep 17 00:00:00 2001 From: Thales Fukuda Date: Wed, 1 Nov 2023 02:07:21 -0300 Subject: [PATCH] fix: Update task duration property to be optional (#246) --- src/types/entities.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/types/entities.ts b/src/types/entities.ts index d00b6ee..bf866e7 100644 --- a/src/types/entities.ts +++ b/src/types/entities.ts @@ -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),