[Vendor] Update gitea go-sdk to 2020-01-03 (#81)

update sdk to v0.0.0-20200103062250-c7686bd633c6

Co-authored-by: 6543 <6543@obermui.de>
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
Reviewed-by: sapk <sapk@noreply.gitea.io>
Reviewed-by: mrsdizzie <info@mrsdizzie.com>
This commit is contained in:
6543
2020-01-04 01:44:33 +00:00
committed by Lunny Xiao
parent 6e85b47f7c
commit 3c66a7af24
8 changed files with 86 additions and 13 deletions

View File

@@ -9,5 +9,5 @@ func (c *Client) ServerVersion() (string, error) {
var v = struct {
Version string `json:"version"`
}{}
return v.Version, c.getParsedResponse("GET", "/api/v1/version", nil, nil, &v)
return v.Version, c.getParsedResponse("GET", "/version", nil, nil, &v)
}