diff options
author | Emiliano Ciavatta | 2020-12-17 09:57:29 +0000 |
---|---|---|
committer | Emiliano Ciavatta | 2020-12-17 09:57:29 +0000 |
commit | ad0c27ae1fde7d24c24a34a7c305edeb0ea9974e (patch) | |
tree | b65405425d3325935a8bcd8fbedd7e8905eb7c6c /application_router.go | |
parent | e4b73c0c3ce2c8817ddd1b8cfaa672823b59a422 (diff) | |
parent | 1c7bd710650cafbf1eb093344a95a57882069fae (diff) |
Merge branch 'develop' into main
Diffstat (limited to 'application_router.go')
-rw-r--r-- | application_router.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/application_router.go b/application_router.go index 4048dc5..21758c9 100644 --- a/application_router.go +++ b/application_router.go @@ -273,7 +273,7 @@ func CreateApplicationRouter(applicationContext *ApplicationContext, result = applicationContext.ConnectionsController.SetMarked(c, id, false) case "comment": var comment struct { - Comment string `json:"comment" binding:"required"` + Comment string `json:"comment"` } if err := c.ShouldBindJSON(&comment); err != nil { badRequest(c, err) |