add missing var declaration
This commit is contained in:
parent
7eb15a9ac6
commit
049e007747
1 changed files with 1 additions and 1 deletions
|
@ -255,7 +255,7 @@ lbry.getFeaturedDiscoverNames = function(callback) {
|
|||
xhr.open('GET', 'https://api.lbry.io/discover/list', true);
|
||||
xhr.onload = () => {
|
||||
if (xhr.status === 200) {
|
||||
responseData = JSON.parse(xhr.responseText);
|
||||
var responseData = JSON.parse(xhr.responseText);
|
||||
if (responseData.data) //new signature, once api.lbry.io is updated
|
||||
{
|
||||
resolve(responseData.data);
|
||||
|
|
Loading…
Add table
Reference in a new issue