mirror of
https://github.com/HenkKalkwater/harbour-sailfin.git
synced 2024-11-25 02:15:17 +00:00
Fix authentication
This commit is contained in:
parent
69ddb18046
commit
f34f3484f3
|
@ -225,7 +225,7 @@ void ApiClient::addTokenHeader(QNetworkRequest &request) const {
|
|||
authentication += ", DeviceId=\"" + d->deviceId + "\"";
|
||||
authentication += ", Version=\"" + version() + "\"";
|
||||
if (d->authenticated) {
|
||||
authentication += ", token=\"" + d->token + "\"";
|
||||
authentication += ", Token=\"" + d->token + "\"";
|
||||
}
|
||||
request.setRawHeader("X-Emby-Authorization", authentication.toUtf8());
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue