Skip to content

fix: currentUser.tracks-replace ids array with {ids} #132

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

sds-smith
Copy link

Summary

Issue #131 - {"error": {"status": 400, "message": "Missing required field: ids" } } response on currentUser.tracks.saveTracks. Also affected currentUser.tracks.removeSavedTracks

Changes

Wrote "can save and remove tracks for user" test and got it to pass by replacing ids string array with { ids} as payload passed to putRequest and deleteRequest.

Results

passing test

@aleksei-tro
Copy link

can someone please merge this PR? 🙏

@aleksei-tro
Copy link

@sds-smith I resolved it for now using patch-package, if you're interested
but ideally this PR should get merged

@timrae
Copy link

timrae commented Apr 13, 2025

@jordan-loeser
Is anyone from Spotify responsible for maintaining this repo? It would be nice if someone could at least merge PRs fixing breaking API changes like in this case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants