lint
This commit is contained in:
parent
5e4ea29e1b
commit
2f4a6d5f47
1 changed files with 1 additions and 1 deletions
|
@ -194,7 +194,7 @@ const populateAuthTokenHeader = () => {
|
||||||
}
|
}
|
||||||
const tokens = getTokens();
|
const tokens = getTokens();
|
||||||
if (tokens.access_token) {
|
if (tokens.access_token) {
|
||||||
Lbry.setApiHeader('Authorization', 'Bearer ' + tokens.access_token);
|
Lbry.setApiHeader('Authorization', `Bearer ${tokens.access_token}`);
|
||||||
} else {
|
} else {
|
||||||
Lbry.setApiHeader(X_LBRY_AUTH_TOKEN, tokens.auth_token);
|
Lbry.setApiHeader(X_LBRY_AUTH_TOKEN, tokens.auth_token);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue