From 185d4c97b1e99402944970fce6e09c8da8112d45 Mon Sep 17 00:00:00 2001 From: Alaister Young Date: Sat, 26 Oct 2024 19:08:37 +0800 Subject: [PATCH] update edge function --- supabase/functions/update-whois/index.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/supabase/functions/update-whois/index.ts b/supabase/functions/update-whois/index.ts index 34b4f61..ff71262 100644 --- a/supabase/functions/update-whois/index.ts +++ b/supabase/functions/update-whois/index.ts @@ -30,7 +30,8 @@ Deno.serve(async (req) => { Deno.env.get('SUPABASE_SERVICE_ROLE_KEY')! ) - // Fetch the domain name with the user context + // Fetch the domain name with the user context, + // so users can only update their own domain names const { data } = await supabaseClient .from('domain_names') .select()