Change variable name to web_api_url
This commit is contained in:
parent
d408f89a91
commit
b82bf1ccdb
8 changed files with 23 additions and 26 deletions
|
@ -25,8 +25,8 @@ std::string UpdateCoreJWT(bool force_new_token, const std::string& username,
|
|||
static std::string jwt;
|
||||
if (jwt.empty() || force_new_token) {
|
||||
if (!username.empty() && !token.empty()) {
|
||||
std::future<Common::WebResult> future = PostJson(
|
||||
Settings::values.web_services_endpoint_url + "/jwt/internal", username, token);
|
||||
std::future<Common::WebResult> future =
|
||||
PostJson(Settings::values.web_api_url + "/jwt/internal", username, token);
|
||||
jwt = future.get().returned_data;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue