fix: build errors from merge

This commit is contained in:
Mythie
2024-02-26 09:13:46 +11:00
parent 2a74ce06ef
commit 4cb0d6999d

View File

@ -26,8 +26,7 @@ export const updateTitle = async ({
},
});
return await prisma.$transaction(async (tx) => {
const document = await tx.document.findFirstOrThrow({
const document = await prisma.document.findFirstOrThrow({
where: {
id: documentId,
...(teamId