diff --git a/src/js/services/spotify/actions.js b/src/js/services/spotify/actions.js index 0dfb7688..59a09fe3 100755 --- a/src/js/services/spotify/actions.js +++ b/src/js/services/spotify/actions.js @@ -23,7 +23,7 @@ const sendRequest = ( dispatch, getState, endpoint, method = 'GET', data = false // 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/') ) url = endpoint; + if (endpoint.startsWith('https://api.spotify.com/')) url = endpoint; // create our ajax request config var config = { diff --git a/src/js/views/User.js b/src/js/views/User.js index 48995b8f..46d5b789 100755 --- a/src/js/views/User.js +++ b/src/js/views/User.js @@ -87,7 +87,7 @@ class User extends React.Component{ } } - if (this.props.user && this.props.user.images ){ + if (this.props.user && this.props.user.images){ var image = helpers.sizedImages(this.props.user.images).huge } else { var image = null @@ -104,8 +104,8 @@ class User extends React.Component{