Switch to Koa, more es6
This commit is contained in:
parent
1090affc9c
commit
b3abff99ae
36 changed files with 25573 additions and 928 deletions
|
@ -6,8 +6,7 @@ module.exports.id = "rdio";
|
|||
|
||||
if (!process.env.RDIO_API_KEY || !process.env.RDIO_API_SHARED) {
|
||||
console.warn("RDIO_API_KEY or RDIO_API_SHARED environment variables not found, deactivating Rdio.");
|
||||
return;
|
||||
}
|
||||
} else {
|
||||
|
||||
var rdio = require('rdio')({
|
||||
rdio_api_key: process.env.RDIO_API_KEY,
|
||||
|
@ -178,3 +177,5 @@ module.exports.search = function(data) {
|
|||
}
|
||||
});
|
||||
};
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue