Fix: Auth 500 error, script tag warning, dynamic import, rate limit

This commit is contained in:
Mustafa Cetin committed 2026-07-29 12:56:28 +00:00
1 parent 8507984c7e
commit 55c916a9e9
8 files changed
+43 -10

No files matched your search

+1 -1
View File
@@ -53,7 +53,7 @@ export async function getSession(): Promise<{
if (!userId) return null;
const user = await db.user.findUnique({
const user = await db.user.findFirst({
where: { id: userId, deletedAt: null },
select: sessionUserSelect,
});