Skip to content

Commit

Permalink
[api] Update wotx endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
IceflowRE committed Jun 25, 2024
1 parent 0ab0a4f commit cb2565d
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,14 @@ All notable changes to this project will be documented in this file.

The format is based on `Keep a Changelog <https://keepachangelog.com/en/1.0.0/>`_ and this project adheres to `Semantic Versioning <https://semver.org/spec/v2.0.0.html>`_.

4.1.6
=====

Updated
-------

- wotx: update endpoint ``https://api-console.worldoftanks.??/wotx`` to ``https://api-modernarmor.worldoftanks.%s/wotx``

4.1.5
=====

Expand Down
2 changes: 1 addition & 1 deletion wargaming/sections.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ var (
}
// sectionWotx World Of Tanks Modern Armor.
sectionWotx = sectionS{
apiUrlFormat: "https://api-console.worldoftanks.%s/wotx",
apiUrlFormat: "https://api-modernarmor.worldoftanks.%s/wotx",
}
// sectionWowp World Of Warplanes.
sectionWowp = sectionS{
Expand Down
2 changes: 1 addition & 1 deletion wargaming/wotx/auth_login.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ type AuthLoginOptions struct {
// If parameter nofollow=1 is passed in, the user is not redirected. URL is returned in response. Default is 0. Min value is 0. Maximum value: 1.
Nofollow *int `json:"nofollow,omitempty"`
// URL where user is redirected after authentication.
// By default: api-console.worldoftanks.com/wotx //blank/
// By default: api-modernarmor.worldoftanks.com/wotx //blank/
RedirectUri *string `json:"redirect_uri,omitempty"`
}

Expand Down

0 comments on commit cb2565d

Please sign in to comment.