Skip to content
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

Multple artists #4

Open
moso opened this issue Apr 1, 2020 · 1 comment
Open

Multple artists #4

moso opened this issue Apr 1, 2020 · 1 comment

Comments

@moso
Copy link

moso commented Apr 1, 2020

The GraphQL server only seem to grab the first artist in the array.

This is normally fine, but if you have multiple artists, usually formatted like Primary Artist, Another Artist, Maybe A Third, then the rest is missing.

Since I have no experience with TypeScript, I have no idea where to look.

Thanks

@moso
Copy link
Author

moso commented Feb 8, 2021

10 months later and I have solved this myself out of curiosity.

// src/modules/spotify/mappers/currentPlayingSongMap.ts
artist: {
  name: apiResult.item.artists.map((x) => x.name).join(', '),
},

Is it worth a PR?
Question is if @stemmlerjs even check these

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

No branches or pull requests

1 participant