Skip to content
Snippets Groups Projects
Verified Commit ec52aa04 authored by Eliot Berriot's avatar Eliot Berriot
Browse files

Fixed redirection

parent f3b6bc10
Branches
Tags
No related merge requests found
...@@ -110,7 +110,7 @@ export default { ...@@ -110,7 +110,7 @@ export default {
resolve(self.tracks) resolve(self.tracks)
} else if (self.playlist) { } else if (self.playlist) {
let url = 'playlists/' + self.playlist.id + '/' let url = 'playlists/' + self.playlist.id + '/'
axios.get(url + 'tracks').then((response) => { axios.get(url + 'tracks/').then((response) => {
resolve(response.data.results.map(plt => { resolve(response.data.results.map(plt => {
return plt.track return plt.track
})) }))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment