chore: return minimal data

This commit is contained in:
Catalin Pit
2025-09-01 14:20:15 +03:00
parent c97c2551db
commit 5e8c3d5d92

View File

@ -31,9 +31,11 @@ export const handleDocumentOwnershipOnDeletion = async ({
where: {
id: organisationOwnerId,
},
include: {
select: {
id: true,
ownedOrganisations: {
include: {
select: {
id: true,
teams: {
select: {
id: true,