diff --git a/api/passport/subdomain/[username].ts b/api/passport/subdomain/[username].ts index b089ecfc..d0120039 100644 --- a/api/passport/subdomain/[username].ts +++ b/api/passport/subdomain/[username].ts @@ -50,7 +50,10 @@ export default async function handler(req: VercelRequest, res: VercelResponse) { .single(); user = result.data; } catch (e) { - console.log("[Passport] Username exact match failed, trying ilike:", e?.message); + console.log( + "[Passport] Username exact match failed, trying ilike:", + e?.message, + ); // Try case-insensitive match try { const result2 = await admin diff --git a/client/pages/SubdomainPassport.tsx b/client/pages/SubdomainPassport.tsx index 2fad9f8f..10d7e625 100644 --- a/client/pages/SubdomainPassport.tsx +++ b/client/pages/SubdomainPassport.tsx @@ -10,7 +10,8 @@ import FourOhFourPage from "@/pages/404"; import Index from "@/pages/Index"; import type { AethexUserProfile } from "@/lib/aethex-database-adapter"; -const getApiBase = () => typeof window !== "undefined" ? window.location.origin : ""; +const getApiBase = () => + typeof window !== "undefined" ? window.location.origin : ""; interface CreatorPassportResponse { type: "creator";