|
@@ -152,14 +152,6 @@ const actionAddTrack = file =>
|
|
|
getState().promise.playlistTracks.payload[0].tracks.forEach(track => arr.push({_id: track._id}))
|
|
|
console.log('newarr', arr)
|
|
|
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
await dispatch(actionPromise('trackToPlaylist', gql(`
|
|
|
mutation($playlistId: ID, $newTracks: [TrackInput]) {
|
|
|
PlaylistUpsert(playlist:{ _id: $playlistId, tracks: $newTracks}) {
|