completionId: cgen-e2d55c025db143538b8fd88f6d973158
cgen-e2d55c025db143538b8fd88f6d973158
This commit is contained in:
parent
c5e1264bfb
commit
d707987ab8
1 changed files with 4 additions and 0 deletions
|
|
@ -21,6 +21,10 @@ export default async function handler(req: any, res: any) {
|
||||||
const supabaseServiceRole = process.env.SUPABASE_SERVICE_ROLE;
|
const supabaseServiceRole = process.env.SUPABASE_SERVICE_ROLE;
|
||||||
|
|
||||||
if (!supabaseUrl || !supabaseServiceRole) {
|
if (!supabaseUrl || !supabaseServiceRole) {
|
||||||
|
console.error("[Discord Verify] Missing env vars:", {
|
||||||
|
supabaseUrl: !!supabaseUrl,
|
||||||
|
supabaseServiceRole: !!supabaseServiceRole,
|
||||||
|
});
|
||||||
return res.status(500).json({ message: "Server configuration error" });
|
return res.status(500).json({ message: "Server configuration error" });
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue