Removing null endpoint check

This commit is contained in:
James Barnsley
2018-11-01 08:49:59 +13:00
parent 192b1bed88
commit e634cac8c0
4 changed files with 13697 additions and 10426 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -98,7 +98,7 @@
// Release details
// These are automatically injected to built HTML
var build = "1540963961";
var build = "1541014861";
var version = "3.29.0";
// Construct the script tag

View File

@ -28,10 +28,6 @@ const request = (dispatch, getState, endpoint, method = 'GET', data = false) =>
.then(
response => {
if (!endpoint || enpoint == ""){
console.error("No Spotify endpoint provided????", endpoint, method, data);
}
// prepend the API baseurl, unless the endpoint already has it (ie pagination requests)
var url = 'https://api.spotify.com/v1/'+endpoint
if (endpoint.startsWith('https://api.spotify.com/')){