Browse Source

Set correct doc url for go-sdk

tags/v1.21.12.1
Thomas Boerger 8 years ago
parent
commit
6bf9910975
No known key found for this signature in database GPG Key ID: 5A388F55283960B6
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      modules/base/base.go
  2. +1
    -1
      modules/context/api.go

+ 1
- 1
modules/base/base.go View File

@@ -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


+ 1
- 1
modules/context/api.go View File

@@ -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,
})
}



Loading…
Cancel
Save