Add unit tests for spotify
This commit is contained in:
parent
493482386e
commit
f6907766bd
4 changed files with 48 additions and 12 deletions
|
@ -39,6 +39,6 @@ module.exports.parseUrl = function(url, next) {
|
|||
var matches = parse(url).path.match(/\/album[\/]+([^\/]+)/);
|
||||
|
||||
if (matches && matches[1]) {
|
||||
return next({id:matches[1], type: "album"})
|
||||
next({id:matches[1], type: "album"})
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue