fix: hide org upgrade banner for platform orgs (#16031)

This commit is contained in:
Morgan
2024-08-02 14:45:59 +02:00
committed by GitHub
parent 06ce1988f3
commit 4c576fbd57
@@ -22,6 +22,7 @@ export async function checkIfOrgNeedsUpgradeHandler({ ctx }: GetUpgradeableOptio
},
role: MembershipRole.OWNER,
team: {
isPlatform: false,
parentId: null, // Since ORGS relay on their parent's subscription, we don't need to return them
},
},