Browse Source

fix some bug

tags/v1.1.3
Lunny Xiao 6 years ago
parent
commit
b20f1ab47f
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      routers/api/v1/api.go

+ 1
- 1
routers/api/v1/api.go View File

@@ -341,7 +341,7 @@ func RegisterRoutes(m *macaron.Macaron) {
Post(bind(api.CreateKeyOption{}), repo.CreateDeployKey)
m.Combo("/:id").Get(repo.GetDeployKey).
Delete(repo.DeleteDeploykey)
})
}, reqRepoWriter())
m.Group("/issues", func() {
m.Combo("").Get(repo.ListIssues).Post(bind(api.CreateIssueOption{}), repo.CreateIssue)
m.Group("/comments", func() {

Loading…
Cancel
Save