feat: patchy patchy patchy

This commit is contained in:
=
2025-10-21 01:56:32 +05:30
parent 9a69143473
commit ae0e5a60b9
9 changed files with 20 additions and 18 deletions
+1 -1
View File
@@ -58,7 +58,7 @@ export const registerLicenseRouter = async (server: FastifyZodProvider) => {
const plan = await server.services.license.getOrgPlan({
actorId: req.permission.id,
actor: req.permission.type,
actorOrgId: req.permission.parentOrgId,
actorOrgId: req.permission.rootOrgId,
actorAuthMethod: req.permission.authMethod,
orgId: req.params.organizationId,
refreshCache: req.query.refreshCache
@@ -138,7 +138,7 @@ export const dynamicSecretServiceFactory = ({
scope: OrganizationActionScope.Any,
actor,
actorId,
orgId: actorOrgId,
orgId: gateway?.orgId || gatewayv2?.orgId,
actorAuthMethod,
actorOrgId
});
@@ -302,7 +302,7 @@ export const dynamicSecretServiceFactory = ({
scope: OrganizationActionScope.Any,
actor,
actorId,
orgId: actorOrgId,
orgId: gateway?.orgId || gatewayv2?.orgId,
actorAuthMethod,
actorOrgId
});
@@ -39,7 +39,7 @@ export type TGetOrgPermissionArg = {
actorId: string;
orgId: string;
actorAuthMethod: ActorAuthMethod;
actorOrgId?: string;
actorOrgId: string;
scope: OrganizationActionScope;
};
@@ -37,7 +37,7 @@ export type TGetSamlCfgDTO =
actor: ActorType;
actorId: string;
actorAuthMethod: ActorAuthMethod;
actorOrgId: string | undefined;
actorOrgId: string;
}
| {
type: "orgSlug";