Fixed spotify playlist loading in ui

This commit is contained in:
RemixDev 2021-05-29 12:04:32 +02:00
parent 8479bf328c
commit bd22aef8cc
2 changed files with 2 additions and 2 deletions

File diff suppressed because one or more lines are too long

View file

@ -22,7 +22,7 @@ function refreshFavorites({ isInitial = false }) {
fetchData('getUserSpotifyPlaylists', {
spotifyUser: store.getters.getSpotifyUser.id
})
.then(({ data: spotifyPlaylists }) => {
.then(spotifyPlaylists => {
favoriteSpotifyPlaylists.value = spotifyPlaylists
})
.catch(console.error)