From a669e1846e685a77dbfab2c1ad67d2dc1a7d0c2c Mon Sep 17 00:00:00 2001 From: vchikalkin Date: Thu, 18 Sep 2025 13:10:36 +0300 Subject: [PATCH] fix(web): profile page getSubscriptionSettings queryKey --- apps/web/app/(main)/profile/page.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/web/app/(main)/profile/page.tsx b/apps/web/app/(main)/profile/page.tsx index ceaf74e..47b1aff 100644 --- a/apps/web/app/(main)/profile/page.tsx +++ b/apps/web/app/(main)/profile/page.tsx @@ -16,7 +16,7 @@ export default async function ProfilePage() { const { subscriptionSetting } = await queryClient.fetchQuery({ queryFn: getSubscriptionSettings, - queryKey: ['customer', telegramId], + queryKey: ['subscriptionSetting'], }); const proEnabled = subscriptionSetting?.proEnabled;