completionId: cgen-d0c9b1b9d3724be0993a30ee68dcd14c

cgen-d0c9b1b9d3724be0993a30ee68dcd14c
This commit is contained in:
Builder.io 2025-11-11 02:32:11 +00:00
parent 7bab2b12a9
commit 96185c30e9

View file

@ -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",