diff --git a/.example.env b/.example.env index 5894bf9ea..ad86582f9 100644 --- a/.example.env +++ b/.example.env @@ -1,6 +1,6 @@ SUPABASE_ANON_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24iLCJleHAiOjE5ODM4MTI5OTZ9.CRXP1A7WOeoJeXxjNni43kdQwgnWNReilDMblYTn_I0 SUPABASE_URL=http://localhost:54321 -SUPABSE_SERVICE_KEY=xxx +SUPABASE_SERVICE_KEY=xxx STRIPE_SECRET_KEY=sk_test_xxx STRIPE_WEBHOOK_SECRET=xxx \ No newline at end of file diff --git a/README.md b/README.md index 9b67e4710..e2a2d54b9 100644 --- a/README.md +++ b/README.md @@ -55,7 +55,7 @@ The only variables you need are: - `SUPABASE_ANON_KEY` - `SUPABASE_URL` -- `SUPABSE_SERVICE_KEY` +- `SUPABASE_SERVICE_KEY` - `STRIPE_SECRET_KEY` - `STRIPE_WEBHOOK_SECRET` diff --git a/utils/supabase.ts b/utils/supabase.ts index 4cd89e14f..d3a13abac 100644 --- a/utils/supabase.ts +++ b/utils/supabase.ts @@ -33,7 +33,7 @@ export function createSupabaseClient( // Required to bypass Row Level Security (RLS) export const supabaseAdminClient = createClient( Deno.env.get("SUPABASE_URL")!, - Deno.env.get("SUPABSE_SERVICE_KEY")!, + Deno.env.get("SUPABASE_SERVICE_KEY")!, ); async function getCustomer(