mirror of
https://github.com/documenso/documenso.git
synced 2025-11-13 08:13:56 +10:00
fix: visiblity
This commit is contained in:
@ -85,6 +85,7 @@ export const getDocumentWhereInput = async ({
|
||||
|
||||
const documentOrInput: Prisma.DocumentWhereInput[] = [
|
||||
{
|
||||
userId: userId,
|
||||
teamId: team.id,
|
||||
},
|
||||
];
|
||||
@ -149,7 +150,7 @@ export const getDocumentWhereInput = async ({
|
||||
return {
|
||||
documentWhereInput: {
|
||||
...documentWhereInput,
|
||||
OR: [...visibilityFilters],
|
||||
// OR: [...visibilityFilters],
|
||||
},
|
||||
team,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user