Removing null endpoint check
This commit is contained in:
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -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
|
||||
|
||||
@ -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/')){
|
||||
|
||||
Reference in New Issue
Block a user