fix: typo

This commit is contained in:
Sean Yesmunt 2019-02-05 01:11:17 -05:00
parent 49fc5249b1
commit 60fe5519dc
2 changed files with 2 additions and 2 deletions

2
dist/bundle.js vendored
View file

@ -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

View file

@ -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