Fixed redirection

This commit is contained in:
Eliot Berriot 2018-07-27 19:49:53 +02:00
parent f3b6bc1029
commit ec52aa040d
No known key found for this signature in database
GPG Key ID: DD6965E2476E5C27
1 changed files with 1 additions and 1 deletions

View File

@ -110,7 +110,7 @@ export default {
resolve(self.tracks)
} else if (self.playlist) {
let url = 'playlists/' + self.playlist.id + '/'
axios.get(url + 'tracks').then((response) => {
axios.get(url + 'tracks/').then((response) => {
resolve(response.data.results.map(plt => {
return plt.track
}))