chore: refactor routes (#1992)

This commit is contained in:
David Nguyen
2025-08-25 21:00:35 +10:00
committed by GitHub
parent 7eb882aea8
commit 44f5da95b3
16 changed files with 89 additions and 43 deletions

View File

@ -42,6 +42,11 @@ export const run = async ({
where: {
id: userId,
},
select: {
id: true,
email: true,
name: true,
},
}),
prisma.document.findFirstOrThrow({
where: {