mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-31 21:28:11 +09:00 
			
		
		
		
	Set correct doc url for go-sdk
This commit is contained in:
		| @@ -4,7 +4,7 @@ | ||||
|  | ||||
| package base | ||||
|  | ||||
| const DOC_URL = "https://github.com/gogits/go-gogs-client/wiki" | ||||
| const DocURL = "https://godoc.org/github.com/go-gitea/go-sdk" | ||||
|  | ||||
| type ( | ||||
| 	TplName string | ||||
|   | ||||
| @@ -36,7 +36,7 @@ func (ctx *APIContext) Error(status int, title string, obj interface{}) { | ||||
|  | ||||
| 	ctx.JSON(status, map[string]string{ | ||||
| 		"message": message, | ||||
| 		"url":     base.DOC_URL, | ||||
| 		"url":     base.DocURL, | ||||
| 	}) | ||||
| } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user