Merge pull request #4885 from Infisical/fix/pkiInventoryRefresh

Fix refresh issues on PKI Inventory table
This commit is contained in:
carlosmonastyrski
2025-11-19 02:10:42 -03:00
committed by GitHub
5 changed files with 25 additions and 11 deletions
@@ -213,7 +213,7 @@ export const certificateProfileServiceFactory = ({
throw new NotFoundError({ message: "Project not found" });
}
const plan = await licenseService.getPlan(project.orgId);
if (!plan.pkiAcme) {
if (!plan.pkiAcme && data.enrollmentType === EnrollmentType.ACME) {
throw new BadRequestError({
message: "Failed to create certificate profile: Plan restriction. Upgrade plan to continue"
});