Fix authorization of API calls in XMLHttpRequest

This commit is contained in:
David Rowe 2015-03-27 13:59:52 -07:00
parent 6550b4e311
commit 1ee797efa4

View file

@ -207,7 +207,7 @@ void XMLHttpRequestClass::open(const QString& method, const QString& url, bool a
notImplemented();
}
} else {
if (url.toLower().left(33) == "https://metaverse.highfidelity.com/api/") {
if (url.toLower().left(39) == "https://metaverse.highfidelity.com/api/") {
AccountManager& accountManager = AccountManager::getInstance();
if (accountManager.hasValidAccessToken()) {