Skip to content

Commit b20f1ab

Browse files
committed
fix some bug
1 parent 9a7f59e commit b20f1ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

routers/api/v1/api.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ func RegisterRoutes(m *macaron.Macaron) {
341341
Post(bind(api.CreateKeyOption{}), repo.CreateDeployKey)
342342
m.Combo("/:id").Get(repo.GetDeployKey).
343343
Delete(repo.DeleteDeploykey)
344-
})
344+
}, reqRepoWriter())
345345
m.Group("/issues", func() {
346346
m.Combo("").Get(repo.ListIssues).Post(bind(api.CreateIssueOption{}), repo.CreateIssue)
347347
m.Group("/comments", func() {

0 commit comments

Comments
 (0)