diff --git a/apps/web/app/landing-page/SubscribersCount.tsx b/apps/web/app/landing-page/SubscribersCount.tsx index 61e9aad7..2e5a1b61 100644 --- a/apps/web/app/landing-page/SubscribersCount.tsx +++ b/apps/web/app/landing-page/SubscribersCount.tsx @@ -9,7 +9,7 @@ const getSubscriberCount = async (): Promise => { ) const { count, error } = await supabase .from(Entities.Subcribers) - .select('id', { count: 'exact' }) + .select('id', { count: 'exact', head: true }) if (error) { console.error(error) diff --git a/apps/web/package.json b/apps/web/package.json index 6303dc9a..4e381d1e 100644 --- a/apps/web/package.json +++ b/apps/web/package.json @@ -1,6 +1,6 @@ { "name": "web", - "version": "1.0.1", + "version": "1.0.2", "private": true, "scripts": { "dev": "development=true next dev", diff --git a/turbo.json b/turbo.json index 2e1ab0e0..09d9a2b7 100644 --- a/turbo.json +++ b/turbo.json @@ -31,6 +31,8 @@ "VERCEL_URL", "VERCEL_ENV", "NEXT_PUBLIC_POSTHOG_KEY", + "SUPABASE_URL", + "SUPABASE_SERVICE_ROLE", "NEXT_PUBLIC_POSTHOG_HOST" ] }