From 2046ddb222c6517f0a9dfe05c568513d216353e5 Mon Sep 17 00:00:00 2001 From: Lakshan Perera Date: Tue, 10 Sep 2024 15:35:20 +1000 Subject: [PATCH] Update connect-to-postgres.mdx --- apps/docs/content/guides/functions/connect-to-postgres.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/docs/content/guides/functions/connect-to-postgres.mdx b/apps/docs/content/guides/functions/connect-to-postgres.mdx index 12478874d5cdb..22b0ada259bfd 100644 --- a/apps/docs/content/guides/functions/connect-to-postgres.mdx +++ b/apps/docs/content/guides/functions/connect-to-postgres.mdx @@ -16,7 +16,7 @@ The `supabase-js` client is a great option for connecting to your Supabase datab ```ts index.ts import { createClient } from 'jsr:@supabase/supabase-js@2' -Deno.serve(async (_req) => { +Deno.serve(async (req) => { try { const supabase = createClient( Deno.env.get('SUPABASE_URL') ?? '',