mirror of
https://github.com/go-gitea/gitea.git
synced 2024-05-11 05:55:29 +00:00
added repository remove option to api
This commit is contained in:
@ -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() {
|
||||
|
Reference in New Issue
Block a user