Skip to content

Commit

Permalink
Merge pull request #8 from antfie/bug/european-region
Browse files Browse the repository at this point in the history
Fixed european support
  • Loading branch information
dipsylala authored Sep 27, 2023
2 parents 022fb31 + 647a477 commit b1f705f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ type API struct {
func (api API) makeApiRequest(apiUrl, httpMethod string) []byte {
if api.Region == "us" {
apiUrl = strings.Replace(apiUrl, ".com", ".us", 1)
} else if api.Region == "eu" {
} else if api.Region == "european" {
apiUrl = strings.Replace(apiUrl, ".com", ".eu", 1)
}

Expand Down

0 comments on commit b1f705f

Please sign in to comment.