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: {
|
where: {
|
||||||
id: organisationOwnerId,
|
id: organisationOwnerId,
|
||||||
},
|
},
|
||||||
include: {
|
select: {
|
||||||
|
id: true,
|
||||||
ownedOrganisations: {
|
ownedOrganisations: {
|
||||||
include: {
|
select: {
|
||||||
|
id: true,
|
||||||
teams: {
|
teams: {
|
||||||
select: {
|
select: {
|
||||||
id: true,
|
id: true,
|
||||||
|
|||||||
Reference in New Issue
Block a user