Fix authentication

This commit is contained in:
Chris Josten 2022-07-20 23:13:42 +02:00
parent 69ddb18046
commit f34f3484f3
No known key found for this signature in database
GPG Key ID: A69C050E9FD9FF6A
1 changed files with 1 additions and 1 deletions

View File

@ -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());
}