Fix secondary spotify lookup
This commit is contained in:
parent
8bcb13a7a9
commit
234e25d2bc
1 changed files with 1 additions and 1 deletions
|
@ -89,7 +89,7 @@ module.exports.search = function(data) {
|
||||||
deferred.resolve({service: "spotify"});
|
deferred.resolve({service: "spotify"});
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
module.exports.lookupId(data[type + "s"].items[0].id, type).then(deferred.resolve);
|
module.exports.lookupId(results[type + "s"].items[0].id, type).then(deferred.resolve);
|
||||||
}
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue