Skip to content

Commit

Permalink
Fix subscription management links request made for stripe
Browse files Browse the repository at this point in the history
  • Loading branch information
255kb committed May 16, 2024
1 parent aed1c6f commit e8e4865
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion utils/queries.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,8 @@ const useCurrentSubscriptionLinks = (user: User) => {
!!user &&
user.plan !== Plans.FREE &&
user.subscription !== undefined &&
user.subscription.provider !== null,
user.subscription.provider !== null &&
user.subscription.provider === 'paddle',
queryFn: async () => {
const token = await auth.getIdToken();

Expand Down

0 comments on commit e8e4865

Please sign in to comment.