This commit is contained in:
zeppi 2021-09-30 23:19:14 -04:00
parent 5e4ea29e1b
commit 2f4a6d5f47

View file

@ -194,7 +194,7 @@ const populateAuthTokenHeader = () => {
}
const tokens = getTokens();
if (tokens.access_token) {
Lbry.setApiHeader('Authorization', 'Bearer ' + tokens.access_token);
Lbry.setApiHeader('Authorization', `Bearer ${tokens.access_token}`);
} else {
Lbry.setApiHeader(X_LBRY_AUTH_TOKEN, tokens.auth_token);
}