Prettier format pending files
This commit is contained in:
parent
965eaf9cbe
commit
e1c6b14911
1 changed files with 8 additions and 2 deletions
|
|
@ -5,7 +5,10 @@ const SUPABASE_URL =
|
|||
const SUPABASE_SERVICE_ROLE = process.env.SUPABASE_SERVICE_ROLE || "";
|
||||
|
||||
console.log("[Supabase Init] SUPABASE_URL configured:", !!SUPABASE_URL);
|
||||
console.log("[Supabase Init] SUPABASE_SERVICE_ROLE configured:", !!SUPABASE_SERVICE_ROLE);
|
||||
console.log(
|
||||
"[Supabase Init] SUPABASE_SERVICE_ROLE configured:",
|
||||
!!SUPABASE_SERVICE_ROLE,
|
||||
);
|
||||
|
||||
export function getAdminClient() {
|
||||
if (!SUPABASE_URL) {
|
||||
|
|
@ -17,7 +20,10 @@ export function getAdminClient() {
|
|||
throw new Error("SUPABASE_SERVICE_ROLE not set");
|
||||
}
|
||||
|
||||
console.log("[Supabase] Creating client with URL:", SUPABASE_URL.substring(0, 30) + "...");
|
||||
console.log(
|
||||
"[Supabase] Creating client with URL:",
|
||||
SUPABASE_URL.substring(0, 30) + "...",
|
||||
);
|
||||
return createClient(SUPABASE_URL, SUPABASE_SERVICE_ROLE, {
|
||||
auth: { autoRefreshToken: false, persistSession: false },
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue