mirror of
https://github.com/documenso/documenso.git
synced 2025-11-13 16:23:06 +10:00
chore: return minimal data
This commit is contained in:
@ -31,9 +31,11 @@ export const handleDocumentOwnershipOnDeletion = async ({
|
||||
where: {
|
||||
id: organisationOwnerId,
|
||||
},
|
||||
include: {
|
||||
select: {
|
||||
id: true,
|
||||
ownedOrganisations: {
|
||||
include: {
|
||||
select: {
|
||||
id: true,
|
||||
teams: {
|
||||
select: {
|
||||
id: true,
|
||||
|
||||
Reference in New Issue
Block a user