fix: build errors from merge
This commit is contained in:
@@ -26,8 +26,7 @@ export const updateTitle = async ({
|
|||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
return await prisma.$transaction(async (tx) => {
|
const document = await prisma.document.findFirstOrThrow({
|
||||||
const document = await tx.document.findFirstOrThrow({
|
|
||||||
where: {
|
where: {
|
||||||
id: documentId,
|
id: documentId,
|
||||||
...(teamId
|
...(teamId
|
||||||
|
|||||||
Reference in New Issue
Block a user