aboutsummaryrefslogtreecommitdiffstats
path: root/internal/chore
diff options
context:
space:
mode:
authorLibravatar Mo Tarbin <mhed.t91@gmail.com>2024-07-01 18:44:41 -0400
committerLibravatar Mo Tarbin <mhed.t91@gmail.com>2024-07-01 18:44:41 -0400
commit17326a16a018ae84d274be53b52be9273ef69932 (patch)
treea98d2edfdf8a7738f1825e550f2a085e3d70f74e /internal/chore
parenta6871d420053fa06cebdeccee82752a9f9b99af8 (diff)
downloaddonetick-17326a16a018ae84d274be53b52be9273ef69932.tar.gz
donetick-17326a16a018ae84d274be53b52be9273ef69932.tar.bz2
donetick-17326a16a018ae84d274be53b52be9273ef69932.zip
Update local.yaml to set is_done_tick_dot_com to false, add things history
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)