Fix API path of server version (#195)
This commit is contained in:
parent
e4082d89cc
commit
b374d7ccc4
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue