reactions and a bunch of bug fixes

This commit is contained in:
Zoe
2023-01-15 23:54:38 -06:00
parent f1c5537697
commit 1cba5ea335
25 changed files with 1170 additions and 196 deletions

View File

@@ -17,7 +17,6 @@ export default defineEventHandler(({ node }) => {
return;
}
console.time()
const { user } = await prisma.session.findFirst({
where: {
token
@@ -87,7 +86,6 @@ export default defineEventHandler(({ node }) => {
}
}
}) as { user: IUser } | null;
console.timeEnd();
if (!user) {
return;