remove unused binding

This commit is contained in:
6543
2019-11-05 23:51:00 +01:00
parent 334472d426
commit 318657f990
2 changed files with 2 additions and 3 deletions
+1 -1
View File
@@ -691,7 +691,7 @@ func RegisterRoutes(m *macaron.Macaron) {
m.Post("/stop", reqToken(), repo.StopIssueStopwatch)
})
m.Group("/subscriptions", func() {
m.Get("", bind(api.User{}), repo.GetIssueSubscribers)
m.Get("", repo.GetIssueSubscribers)
m.Put("/:user", reqToken(), repo.AddIssueSubscription)
m.Delete("/:user", reqToken(), repo.DelIssueSubscription)
})