mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	minor fix on API response
This commit is contained in:
		@@ -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)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user