added repository remove option to api
This commit is contained in:
parent
02d3b66265
commit
6fe868a4d5
2 changed files with 37 additions and 0 deletions
|
@ -226,6 +226,7 @@ func runWeb(ctx *cli.Context) {
|
|||
|
||||
m.Group("", func() {
|
||||
m.Post("/migrate", bindIgnErr(auth.MigrateRepoForm{}), v1.MigrateRepo)
|
||||
m.Delete("/:owner/:reponame", v1.RemoveRepo)
|
||||
}, middleware.ApiReqToken())
|
||||
|
||||
m.Group("/:username/:reponame", func() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue