Skip to content

Commit

Permalink
chore: remove trailing slash from API base URL
Browse files Browse the repository at this point in the history
  • Loading branch information
ctreatma committed Jul 1, 2024
1 parent 3293369 commit 29de8be
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ var (
const (
consumerToken = "Equinix Metal CLI"
apiTokenEnvVar = "METAL_AUTH_TOKEN"
apiURL = "https://api.equinix.com/metal/v1/"
apiURL = "https://api.equinix.com/metal/v1"
)

// NewCli struct
Expand Down
2 changes: 1 addition & 1 deletion test/helper/helper.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (

const (
ConsumerToken = ""
URL = "https://api.equinix.com/metal/v1/"
URL = "https://api.equinix.com/metal/v1"
Version = "metal"
)

Expand Down

0 comments on commit 29de8be

Please sign in to comment.