diff options
| author | Fuwn <[email protected]> | 2026-03-27 11:22:05 +0000 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2026-03-27 11:22:05 +0000 |
| commit | afc2b91d67ace49548ea64b55a70065eadecf9d8 (patch) | |
| tree | ae73be508d9113efe9fa867e3262c6676239299e /src/lib/Database | |
| parent | fix(ci): fall back to anon key during build analysis (diff) | |
| download | due.moe-afc2b91d67ace49548ea64b55a70065eadecf9d8.tar.xz due.moe-afc2b91d67ace49548ea64b55a70065eadecf9d8.zip | |
style(ci): format supabase server client
Diffstat (limited to 'src/lib/Database')
| -rw-r--r-- | src/lib/Database/sb.server.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/Database/sb.server.ts b/src/lib/Database/sb.server.ts index 82efe425..47205827 100644 --- a/src/lib/Database/sb.server.ts +++ b/src/lib/Database/sb.server.ts @@ -4,7 +4,8 @@ import { env } from "$env/dynamic/private"; const supabaseUrl = env.SUPABASE_URL; const supabaseKey = env.SUPABASE_SERVICE_ROLE_KEY || env.SUPABASE_ANON_KEY; -if (!supabaseUrl || !supabaseKey) throw new Error("Supabase credentials are required."); +if (!supabaseUrl || !supabaseKey) + throw new Error("Supabase credentials are required."); const sb = createClient(supabaseUrl, supabaseKey, { auth: { |