Skip to content

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

Lint fix

Carlos Monastyrskiebf0ee11ba85
diff --git a/backend/src/queue/queue-service.ts b/backend/src/queue/queue-service.ts
index bef9129f7f..056b5b4d46 100644
--- a/backend/src/queue/queue-service.ts
+++ b/backend/src/queue/queue-service.ts
@@ -1,7 +1,6 @@
import { Job, JobSchedulerJson, Queue, QueueOptions, RepeatOptions, Worker, WorkerListener } from "bullmq";
import { SecretEncryptionAlgo, SecretKeyEncoding, TQueueJobs } from "@app/db/schemas";
-import { PkiAlertEventType } from "@app/services/pki-alert-v2/pki-alert-v2-types";
import { TCreateAuditLogDTO } from "@app/ee/services/audit-log/audit-log-types";
import { PamDiscoverySourceRunTrigger } from "@app/ee/services/pam-discovery/pam-discovery-enums";
import {
@@ -29,6 +28,7 @@ import {
import { CaType } from "@app/services/certificate-authority/certificate-authority-enums";
import { ExternalPlatforms } from "@app/services/external-migration/external-migration-types";
import { TCreateUserNotificationDTO } from "@app/services/notification/notification-types";
+import { PkiAlertEventType } from "@app/services/pki-alert-v2/pki-alert-v2-types";
import {
TQueuePkiSyncImportCertificatesByIdDTO,
TQueuePkiSyncRemoveCertificatesByIdDTO,
diff --git a/backend/src/services/pki-alert-v2/pki-alert-v2-queue.ts b/backend/src/services/pki-alert-v2/pki-alert-v2-queue.ts
index 3d7d64e0f6..860fb0428c 100644
--- a/backend/src/services/pki-alert-v2/pki-alert-v2-queue.ts
+++ b/backend/src/services/pki-alert-v2/pki-alert-v2-queue.ts
@@ -216,10 +216,7 @@ export const pkiAlertV2QueueServiceFactory = ({
"Sent PKI event notification"
);
} catch (error) {
- logger.error(
- { alertId: alert.id, certificateId, eventType, error },
- "Failed to process PKI event alert"
- );
+ logger.error({ alertId: alert.id, certificateId, eventType, error }, "Failed to process PKI event alert");
}
}
};
diff --git a/backend/src/services/pki-alert-v2/pki-alert-v2-service.ts b/backend/src/services/pki-alert-v2/pki-alert-v2-service.ts
index 7b80e2464f..2f72cf1ef3 100644
--- a/backend/src/services/pki-alert-v2/pki-alert-v2-service.ts
+++ b/backend/src/services/pki-alert-v2/pki-alert-v2-service.ts
@@ -808,9 +808,7 @@ export const pkiAlertV2ServiceFactory = ({
allCertificates.push(...certificates);
}
- const matchingCertificates = allCertificates.filter(
- (cert) => cert.enrollmentType !== CertificateOrigin.CA
- );
+ const matchingCertificates = allCertificates.filter((cert) => cert.enrollmentType !== CertificateOrigin.CA);
if (matchingCertificates.length === 0) return;