aboutsummaryrefslogtreecommitdiffstats
path: root/internal/chore
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--internal/chore/handler.go6
1 files changed, 0 insertions, 6 deletions
diff --git a/internal/chore/handler.go b/internal/chore/handler.go
index bc90c4c..3d9f9e7 100644
--- a/internal/chore/handler.go
+++ b/internal/chore/handler.go
@@ -195,12 +195,6 @@ func (h *Handler) createChore(c *gin.Context) {
return
}
- } else {
- c.JSON(400, gin.H{
- "error": "Due date is required",
- })
- return
-
}
freqencyMetadataBytes, err := json.Marshal(choreReq.FrequencyMetadata)