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 Aug 26, 2024
1 parent b5eaed2 commit e72ca03
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 e72ca03

Please sign in to comment.