completionId: cgen-d0c9b1b9d3724be0993a30ee68dcd14c
cgen-d0c9b1b9d3724be0993a30ee68dcd14c
This commit is contained in:
parent
7bab2b12a9
commit
96185c30e9
1 changed files with 8 additions and 0 deletions
|
|
@ -4874,6 +4874,14 @@ export function createServer() {
|
|||
// Ensure response headers are set correctly
|
||||
res.setHeader("Content-Type", "application/json");
|
||||
|
||||
if (!adminSupabase) {
|
||||
console.error("[Staff Seed] adminSupabase is not initialized");
|
||||
return res.status(500).json({
|
||||
error: "Supabase client not initialized",
|
||||
message: "SUPABASE_URL or SUPABASE_SERVICE_ROLE not set",
|
||||
});
|
||||
}
|
||||
|
||||
const mockMembers = [
|
||||
{
|
||||
email: "alex@aethex.dev",
|
||||
|
|
|
|||
Loading…
Reference in a new issue