Skip to content

Commit

Permalink
Update temporary playlist response
Browse files Browse the repository at this point in the history
  • Loading branch information
usox committed May 16, 2022
1 parent e8d8db4 commit 89806fc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -104,14 +104,13 @@ export default defineComponent({
},
beforeMount(): void {
let temporaryPlaylistId = this.$store.getters['authStorage/getTemporaryPlaylistId'];
console.log(temporaryPlaylistId)
if (temporaryPlaylistId !== null) {
HttpRequest.get(
'temporary_playlist/' + temporaryPlaylistId
).then((response: AxiosResponse) => {
this.showPlayer()
let data = response.data.data;
let data = response.data;
this.playlist = new PlaylistConfig(
data.songs.map((song_raw: Object): SongListItemInterface => plainToClass(SongListItem, song_raw)),
Expand Down

0 comments on commit 89806fc

Please sign in to comment.