diff --git a/internal/api/api.resolvers.go b/internal/api/api.resolvers.go index 2c993eaa..746a25ed 100644 --- a/internal/api/api.resolvers.go +++ b/internal/api/api.resolvers.go @@ -193,11 +193,11 @@ func (r *userResolver) Features(ctx context.Context, obj *generated.User) ([]typ return nil, err } - if query.User.SponsorshipForViewerAsSponsorable.Tier.MonthlyPriceInDollars > 5 { + if query.User.SponsorshipForViewerAsSponsorable.Tier.MonthlyPriceInDollars >= 5 { features = append(features, typesgen.FeatureDiscordAccess) } - if query.User.SponsorshipForViewerAsSponsorable.Tier.MonthlyPriceInDollars > 25 { + if query.User.SponsorshipForViewerAsSponsorable.Tier.MonthlyPriceInDollars >= 25 { features = append(features, typesgen.FeatureBetaAccess) }