Fix second lookups
This commit is contained in:
parent
e9a5f6713d
commit
88ae9b401c
6 changed files with 8 additions and 8 deletions
|
@ -77,7 +77,7 @@ module.exports.search = function(data) {
|
|||
if (type == "album") {
|
||||
cleanedData.name = matches[0].trim();
|
||||
} else if (type == "track") {
|
||||
cleanedData.album = matches[0].trim();
|
||||
cleanedData.album.name = matches[0].trim();
|
||||
}
|
||||
module.exports.search(cleanedData).then(deferred.resolve);
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue