Skip to content

Commit

Permalink
fix: use v3 as API prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
danya committed Nov 5, 2024
1 parent 67713e3 commit d8016f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/app/enaptercli/cmd_base.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ type doHTTPRequestParams struct {
}

func (c *cmdBase) doHTTPRequest(ctx context.Context, p doHTTPRequestParams) error {
req, err := http.NewRequestWithContext(ctx, p.Method, c.apiHost+"/v2"+p.Path, p.Body)
req, err := http.NewRequestWithContext(ctx, p.Method, c.apiHost+"/v3"+p.Path, p.Body)
if err != nil {
return fmt.Errorf("build http request: %w", err)
}
Expand Down

0 comments on commit d8016f5

Please sign in to comment.