aboutsummaryrefslogtreecommitdiff
path: root/application_router.go
diff options
context:
space:
mode:
authorEmiliano Ciavatta2020-12-17 09:57:29 +0000
committerEmiliano Ciavatta2020-12-17 09:57:29 +0000
commitad0c27ae1fde7d24c24a34a7c305edeb0ea9974e (patch)
treeb65405425d3325935a8bcd8fbedd7e8905eb7c6c /application_router.go
parente4b73c0c3ce2c8817ddd1b8cfaa672823b59a422 (diff)
parent1c7bd710650cafbf1eb093344a95a57882069fae (diff)
Merge branch 'develop' into main
Diffstat (limited to 'application_router.go')
-rw-r--r--application_router.go2
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)