Skip to content

Commit

Permalink
feat(me): prefer body instead of query
Browse files Browse the repository at this point in the history
  • Loading branch information
netlob committed Sep 7, 2024
1 parent 721cc91 commit 07e7249
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/me/MeManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ export class MeManager extends Manager {
// Use an async loop to preserve the order of unsaves
for (let i = 0; i < ids.length; i += 50) {
await this.http.delete(`/v1/me/tracks`, {
query: { ids: ids.slice(i, i + 50).join(',') }
ids: ids.slice(i, i + 50)
});
}
}
Expand Down

0 comments on commit 07e7249

Please sign in to comment.