Files

13 lines
328 B
JavaScript
Raw Permalink Normal View History

2023-06-24 14:25:44 +02:00
const SpotifyController = require('./src/spotify.js')
2023-06-24 12:05:36 +02:00
2023-06-24 14:25:44 +02:00
var spotifyController = new SpotifyController().then(initializingSuccess, printError)
// SpotifyController initialized
function initializingSuccess(result) {
console.log(result)
}
// Print the error to the console
function printError(error) {
console.log(error)
}