fix: incorrect shows the tier for the user with a gifted membership for Patreon#112
Merged
antfu merged 1 commit intoantfu-collective:mainfrom Jun 15, 2025
ycs77:fix-patreon-incorrect-tier
Merged
fix: incorrect shows the tier for the user with a gifted membership for Patreon#112antfu merged 1 commit intoantfu-collective:mainfrom ycs77:fix-patreon-incorrect-tier
antfu merged 1 commit intoantfu-collective:mainfrom
ycs77:fix-patreon-incorrect-tier
Conversation
ReenigneArcher
pushed a commit
to LizardByte/contribkit
that referenced
this pull request
Jun 15, 2025
…or patreon (antfu-collective#112) (cherry picked from commit 3c3d93c)
10 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
The background is my Patreon memberships have someone who has a gifted membership is
Generous Backertier, but shows the member into theBackerstier in the generated sponsors image:Because he has a gifted tier, and there is no investment money.
And this is my expected result:
Therefore, this PR adds a confirmation that if the member's
monthlyDollarsis 0, the member's tier amount will be automatically obtained.Linked Issues
Additional context
How to gift memberships to other fans – Patreon Help Center
Reference Patreon API: https://docs.patreon.com/#get-api-oauth2-v2-campaigns-campaign_id-members