fix: handle custom org limits with member invite

This commit is contained in:
Lucas Smith
2025-10-30 14:31:58 +11:00
parent 7f19ec1265
commit 4a779ec81e
3 changed files with 15 additions and 0 deletions

View File

@ -52,6 +52,11 @@ export const getOrganisation = async ({
organisationGlobalSettings: true,
subscription: true,
organisationClaim: true,
members: {
select: {
id: true,
},
},
teams: {
where: {
teamGroups: {