mirror of
https://github.com/20kaushik02/spotify-manager.git
synced 2026-01-25 06:04:05 +00:00
package updates
This commit is contained in:
@@ -118,6 +118,8 @@ const addItemsToPlaylist = async (req, res, nextBatch, playlistID) => {
|
||||
}
|
||||
|
||||
const removeItemsFromPlaylist = async (req, res, nextBatch, playlistID, snapshotID) => {
|
||||
// API doesn't document this kind of deletion via the 'positions' field
|
||||
// but see here: https://github.com/spotipy-dev/spotipy/issues/95#issuecomment-2263634801
|
||||
const response = await singleRequest(req, res,
|
||||
"DELETE",
|
||||
`/playlists/${playlistID}/tracks`,
|
||||
|
||||
Reference in New Issue
Block a user