From 60fe5519dcff5a1fcde01afce3e53909c4d058fd Mon Sep 17 00:00:00 2001 From: Sean Yesmunt Date: Tue, 5 Feb 2019 01:11:17 -0500 Subject: [PATCH] fix: typo --- dist/bundle.js | 2 +- src/lbryio.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/bundle.js b/dist/bundle.js index 1b4c381..1d88766 100644 --- a/dist/bundle.js +++ b/dist/bundle.js @@ -804,7 +804,7 @@ Lbryio.authenticate = function () { Lbryio.authenticationPromise = new Promise(function (resolve, reject) { Lbryio.getAuthToken().then(function (token) { if (!token || token.length > 60) { - return [false]; + return false; } // check that token works diff --git a/src/lbryio.js b/src/lbryio.js index 5ab9d74..58d1f9a 100644 --- a/src/lbryio.js +++ b/src/lbryio.js @@ -110,7 +110,7 @@ Lbryio.authenticate = () => { Lbryio.getAuthToken() .then(token => { if (!token || token.length > 60) { - return [false]; + return false; } // check that token works