Prettier format pending files
This commit is contained in:
parent
06cf0f11f9
commit
5ef082c44d
2 changed files with 6 additions and 2 deletions
|
|
@ -50,7 +50,10 @@ export default async function handler(req: VercelRequest, res: VercelResponse) {
|
||||||
.single();
|
.single();
|
||||||
user = result.data;
|
user = result.data;
|
||||||
} catch (e) {
|
} 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 case-insensitive match
|
||||||
try {
|
try {
|
||||||
const result2 = await admin
|
const result2 = await admin
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,8 @@ import FourOhFourPage from "@/pages/404";
|
||||||
import Index from "@/pages/Index";
|
import Index from "@/pages/Index";
|
||||||
import type { AethexUserProfile } from "@/lib/aethex-database-adapter";
|
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 {
|
interface CreatorPassportResponse {
|
||||||
type: "creator";
|
type: "creator";
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue