mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-06 18:27:19 +00:00
Merge pull request #4885 from Infisical/fix/pkiInventoryRefresh
Fix refresh issues on PKI Inventory table
This commit is contained in:
@@ -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"
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user