mirror of
https://github.com/fleetdm/fleet
synced 2026-05-23 17:08:53 +00:00
Migrate client setup api call used by fleetctl to use versionless path (#5266)
This commit is contained in:
parent
bfef6cf368
commit
26cfa9e358
1 changed files with 2 additions and 2 deletions
|
|
@ -23,9 +23,9 @@ func (c *Client) Setup(email, name, password, org string) (string, error) {
|
|||
ServerURL: &c.addr,
|
||||
}
|
||||
|
||||
response, err := c.Do("POST", "/api/v1/setup", "", params)
|
||||
response, err := c.Do("POST", "/api/setup", "", params)
|
||||
if err != nil {
|
||||
return "", fmt.Errorf("POST /api/v1/setup: %w", err)
|
||||
return "", fmt.Errorf("POST /api/setup: %w", err)
|
||||
}
|
||||
defer response.Body.Close()
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue