mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-15 02:51:51 +00:00
fix: update create org to properly handle tx (super admin), remove sub org incidents, remove clipping animation container for project templates ui
This commit is contained in:
@@ -284,7 +284,7 @@ export const licenseServiceFactory = ({
|
||||
};
|
||||
|
||||
const updateSubscriptionOrgMemberCount = async (orgId: string, tx?: Knex) => {
|
||||
const org = await orgDAL.findRootOrgDetails(orgId);
|
||||
const org = await orgDAL.findRootOrgDetails(orgId, tx);
|
||||
if (!org) throw new NotFoundError({ message: `Organization with ID '${orgId}' not found` });
|
||||
|
||||
const rootOrgId = org.id;
|
||||
|
||||
Reference in New Issue
Block a user