summaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-08-19 20:08:57 +0800
committerUnknwon <u@gogs.io>2015-08-19 20:08:57 +0800
commit1453e91f419e52fc74e3ec51b47a080a27a33342 (patch)
treee8bb9e381999b6a8a09685af003ed7580da2a116 /cmd
parent2b393f5b039db177a58be03f1c5c746eac501686 (diff)
downloadgitea-1453e91f419e52fc74e3ec51b47a080a27a33342.tar.gz
gitea-1453e91f419e52fc74e3ec51b47a080a27a33342.zip
minor fix on API response
Diffstat (limited to 'cmd')
-rw-r--r--cmd/web.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd/web.go b/cmd/web.go
index ae4403c0ca..05daf558b0 100644
--- a/cmd/web.go
+++ b/cmd/web.go
@@ -232,6 +232,8 @@ func runWeb(ctx *cli.Context) {
m.Combo("/user/repos", middleware.ApiReqToken()).Get(v1.ListMyRepos).
Post(bind(api.CreateRepoOption{}), v1.CreateRepo)
m.Post("/org/:org/repos", middleware.ApiReqToken(), bind(api.CreateRepoOption{}), v1.CreateOrgRepo)
+
+ // TODO: https://github.com/gogits/go-gogs-client/wiki
m.Group("/repos", func() {
m.Get("/search", v1.SearchRepos)
m.Post("/migrate", bindIgnErr(auth.MigrateRepoForm{}), v1.MigrateRepo)