api: add GetReferenceSHA (#5546)

This commit is contained in:
Unknwon
2018-12-16 19:47:32 -05:00
parent cc1a168aa0
commit f91cb9321e
5 changed files with 51 additions and 3 deletions

View File

@@ -26,7 +26,7 @@ type APIContext struct {
}
// FIXME: move to github.com/gogs/go-gogs-client
const DOC_URL = "https://github.com/gogs/go-gogs-client/wiki"
const DOC_URL = "https://github.com/gogs/docs-api"
// Error responses error message to client with given message.
// If status is 500, also it prints error to log.