From e8e486553c2965851f4864a254a32659fcde0e73 Mon Sep 17 00:00:00 2001 From: Guillaume Date: Thu, 16 May 2024 22:16:14 +0200 Subject: [PATCH] Fix subscription management links request made for stripe --- utils/queries.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/utils/queries.tsx b/utils/queries.tsx index d99a7065..3a33b395 100644 --- a/utils/queries.tsx +++ b/utils/queries.tsx @@ -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();