Refactor dependency management and improve error handling in Supabase functions
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
import { createClient } from '@supabase/supabase-js'
|
||||
|
||||
export const supabase = createClient(Bun.env.SUPABASE_URL!, Bun.env.SUPABASE_ANON_KEY!)
|
||||
export const supabase = createClient(Bun.env.SUPABASE_URL ?? '', Bun.env.SUPABASE_ANON_KEY ?? '')
|
||||
/* try {
|
||||
const { data, error } = await supabase.auth.signUp({
|
||||
email: 'guillermo.arrieta@lasalle.mx',
|
||||
|
||||
Reference in New Issue
Block a user