Skip to content

Commit

Permalink
Update spotify-api.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
Nerixjk committed Apr 9, 2024
1 parent 0b641da commit 11ca258
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/spotify-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export default class {
console.log(search.body.tracks.items);
const searchTrackId = search.body.tracks.items[0].id;
const recommended = await this.spotify.getRecommendations({ seed_tracks: [searchTrackId], min_popularity: 50, limit: 1 });
console.log(recommended);
console.log(recommended.body.tracks);
return this.limitTracks(recommended.body.tracks.items, 1).map(this.toSpotifyTrack);
}

Expand Down

0 comments on commit 11ca258

Please sign in to comment.