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

feat: use largest avatar from spotify instead #1210

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

Conversation

william-matz
Copy link

@william-matz william-matz commented Aug 3, 2023

Extracts the largest avatar returned by Spotify, instead of the first avatar in the list.

Fixes:

@william-matz william-matz requested a review from a team as a code owner August 3, 2023 19:26
Copy link
Member

@kangmingtay kangmingtay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@william-matz thanks for contributing! i think we can leave the current setting as such and extend this by adding the entire image list returned by spotify to the provider's custom claims (https://github.com/supabase/gotrue/blob/4745451a931c2be5d36c07b37bd0eb3ab7780587/internal/api/provider/provider.go#L59)

@hf hf dismissed kangmingtay’s stale review January 19, 2024 15:03

I think this is fine. Most users want the largest avatar anyway.

@hf hf changed the title fix: return large avatar url from spotify feat: use largest avatar from spotify instead Jan 19, 2024
@hf
Copy link
Contributor

hf commented Jan 19, 2024

@william-matz Please fix the failing checks before we can approve and merge.

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.

None yet

3 participants