Handle bad rdio urls

This commit is contained in:
Jonathan Cremin 2014-12-07 18:33:55 +00:00
parent e5a69d684e
commit 7468cc4ea6
2 changed files with 30 additions and 22 deletions

View file

@ -18,7 +18,6 @@ module.exports.lookupId = function(id, type, cc) {
if (id.match(/^[a-z]{2}/)) {
cc = id.substr(0,2);
id = id.substr(2);
console.log(id)
}
var path = "/lookup?id=" + id;