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', { fetchData('getUserSpotifyPlaylists', {
spotifyUser: store.getters.getSpotifyUser.id spotifyUser: store.getters.getSpotifyUser.id
}) })
.then(({ data: spotifyPlaylists }) => { .then(spotifyPlaylists => {
favoriteSpotifyPlaylists.value = spotifyPlaylists favoriteSpotifyPlaylists.value = spotifyPlaylists
}) })
.catch(console.error) .catch(console.error)