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:
		@@ -222,7 +222,8 @@ func runWeb(ctx *cli.Context) {
 | 
			
		||||
					m.Get("", v1.GetUserInfo)
 | 
			
		||||
 | 
			
		||||
					m.Group("/tokens", func() {
 | 
			
		||||
						m.Combo("").Get(v1.ListAccessTokens).Post(bind(v1.CreateAccessTokenForm{}), v1.CreateAccessToken)
 | 
			
		||||
						m.Combo("").Get(v1.ListAccessTokens).
 | 
			
		||||
							Post(bind(v1.CreateAccessTokenForm{}), v1.CreateAccessToken)
 | 
			
		||||
					}, middleware.ApiReqBasicAuth())
 | 
			
		||||
				})
 | 
			
		||||
			})
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user