Skip to content

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

Lint fix

Carlos Monastyrski350fcc86c3c7
diff --git a/backend/src/services/certificate-profile/certificate-profile-service.test.ts b/backend/src/services/certificate-profile/certificate-profile-service.test.ts
index 1e31d5788a..327de96269 100644
--- a/backend/src/services/certificate-profile/certificate-profile-service.test.ts
+++ b/backend/src/services/certificate-profile/certificate-profile-service.test.ts
@@ -428,7 +428,10 @@ describe("CertificateProfileService", () => {
service.createProfile({
...mockActor,
projectId: "project-123",
- data: validProfileData
+ data: {
+ ...validProfileData,
+ enrollmentType: EnrollmentType.ACME
+ }
})
).rejects.toThrowError(
new BadRequestError({
diff --git a/frontend/src/components/pki-syncs/forms/CreatePkiSyncForm.tsx b/frontend/src/components/pki-syncs/forms/CreatePkiSyncForm.tsx
index e9c8c1f025..ab4d97f87c 100644
--- a/frontend/src/components/pki-syncs/forms/CreatePkiSyncForm.tsx
+++ b/frontend/src/components/pki-syncs/forms/CreatePkiSyncForm.tsx
@@ -112,10 +112,11 @@ export const CreatePkiSyncForm = ({ destination, onComplete, onCancel, initialDa
});
createNotification({
- text: `Successfully created ${destinationName} Certificate Sync${certificateIds && certificateIds.length > 0
+ text: `Successfully created ${destinationName} Certificate Sync${
+ certificateIds && certificateIds.length > 0
? ` with ${certificateIds.length} certificate(s)`
: ""
- }`,
+ }`,
type: "success"
});
onComplete(pkiSync);
@@ -212,9 +213,10 @@ export const CreatePkiSyncForm = ({ destination, onComplete, onCancel, initialDa
setSelectedTabIndex((prev) => (isEnabled ? index : prev));
}}
className={({ selected }) =>
- `-mb-[0.14rem] whitespace-nowrap ${index > selectedTabIndex ? "opacity-30" : ""} px-4 py-2 text-sm font-medium outline-hidden disabled:opacity-60 ${selected
- ? "border-b-2 border-mineshaft-300 text-mineshaft-200"
- : "text-bunker-300"
+ `-mb-[0.14rem] whitespace-nowrap ${index > selectedTabIndex ? "opacity-30" : ""} px-4 py-2 text-sm font-medium outline-hidden disabled:opacity-60 ${
+ selected
+ ? "border-b-2 border-mineshaft-300 text-mineshaft-200"
+ : "text-bunker-300"
}`
}
key={tab.key}