Refactor dependency management and improve error handling in Supabase functions
This commit is contained in:
1 parent
5ab3c6ca5a
commit
4fc445db61
5 files changed
+257
-116
No files matched your search
+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