Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

refactor(org): Remove unused actorType parameter from service call

Igor Correa79a5627527c1
diff --git a/backend/src/services/org/org-service.ts b/backend/src/services/org/org-service.ts
index a965f109ea..1e2d02169a 100644
--- a/backend/src/services/org/org-service.ts
+++ b/backend/src/services/org/org-service.ts
@@ -204,7 +204,7 @@ export const orgServiceFactory = ({
};
const findAllAccessibleOrganizationsWithSubOrgs = async (userId: string): Promise<TOrgWithSubOrgs[]> => {
- return orgDAL.listOrganizationsWithSubOrgs({ actorId: userId, actorType: ActorType.USER });
+ return orgDAL.listOrganizationsWithSubOrgs({ actorId: userId });
};
/*