fix: typo
This commit is contained in:
parent
49fc5249b1
commit
60fe5519dc
2 changed files with 2 additions and 2 deletions
2
dist/bundle.js
vendored
2
dist/bundle.js
vendored
|
@ -804,7 +804,7 @@ Lbryio.authenticate = function () {
|
||||||
Lbryio.authenticationPromise = new Promise(function (resolve, reject) {
|
Lbryio.authenticationPromise = new Promise(function (resolve, reject) {
|
||||||
Lbryio.getAuthToken().then(function (token) {
|
Lbryio.getAuthToken().then(function (token) {
|
||||||
if (!token || token.length > 60) {
|
if (!token || token.length > 60) {
|
||||||
return [false];
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// check that token works
|
// check that token works
|
||||||
|
|
|
@ -110,7 +110,7 @@ Lbryio.authenticate = () => {
|
||||||
Lbryio.getAuthToken()
|
Lbryio.getAuthToken()
|
||||||
.then(token => {
|
.then(token => {
|
||||||
if (!token || token.length > 60) {
|
if (!token || token.length > 60) {
|
||||||
return [false];
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// check that token works
|
// check that token works
|
||||||
|
|
Loading…
Reference in a new issue