formatting

This commit is contained in:
Nicholas Tindle
2025-10-17 13:40:49 -05:00
parent e7fb4cce5a
commit b59b200bd6
3 changed files with 4 additions and 4 deletions

View File

@@ -4,7 +4,7 @@ import { getServerSupabase } from "@/lib/supabase/server/getServerSupabase";
import { verifyTurnstileToken } from "@/lib/turnstile";
import { signupFormSchema } from "@/types/auth";
import { shouldShowOnboarding } from "../../helpers";
import { isWaitlistError, logWaitlistError } from "./utils";
import { isWaitlistError, logWaitlistError } from "../utils";
export async function POST(request: Request) {
try {

View File

@@ -28,7 +28,7 @@ export function logWaitlistError(context: string, errorMessage: string): void {
// Only log the error code and general message, not the email
const sanitizedMessage = errorMessage.replace(
/"[^"]+@[^"]+"/g, // Matches email addresses in quotes
'"[email]"'
'"[email]"',
);
console.log(`[${context}] Waitlist check failed:`, sanitizedMessage);
}
}

View File

@@ -56,4 +56,4 @@ export function WaitlistErrorContent({
</div>
</div>
);
}
}