this should work, then we can add back

This commit is contained in:
Michael Freno
2025-12-19 16:09:31 -05:00
parent 14a801887a
commit c2b16c0291
10 changed files with 11 additions and 25 deletions

View File

@@ -3,6 +3,7 @@ import { createClient as createAPIClient } from "@tursodatabase/api";
import { v4 as uuid } from "uuid";
import { env } from "~/env/server";
import type { H3Event } from "vinxi/http";
import { getUserID } from "./auth";
let mainDBConnection: ReturnType<typeof createClient> | null = null;
let lineageDBConnection: ReturnType<typeof createClient> | null = null;
@@ -139,7 +140,6 @@ export async function getUserBasicInfo(event: H3Event): Promise<{
email: string | null;
isAuthenticated: boolean;
} | null> {
const { getUserID } = await import("./auth");
const userId = await getUserID(event);
if (!userId) {