Skip to content

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

Fix ts issues

Fang-Pen Lin50818bfdf60e
diff --git a/backend/src/ee/services/audit-log/audit-log-types.ts b/backend/src/ee/services/audit-log/audit-log-types.ts
index 3633d6cee7..64cd7c9360 100644
--- a/backend/src/ee/services/audit-log/audit-log-types.ts
+++ b/backend/src/ee/services/audit-log/audit-log-types.ts
@@ -692,7 +692,8 @@ export type Actor =
| ScimClientActor
| PlatformActor
| KmipClientActor
- | AcmeProfileActor;
+ | AcmeProfileActor
+ | AcmeAccountActor;
interface GetSecretsEvent {
type: EventType.GET_SECRETS;
diff --git a/backend/src/ee/services/pki-acme/pki-acme-service.ts b/backend/src/ee/services/pki-acme/pki-acme-service.ts
index 0278236215..97a396e27a 100644
--- a/backend/src/ee/services/pki-acme/pki-acme-service.ts
+++ b/backend/src/ee/services/pki-acme/pki-acme-service.ts
@@ -1126,7 +1126,7 @@ export const pkiAcmeServiceFactory = ({
type: EventType.RESPOND_TO_ACME_CHALLENGE,
metadata: {
challengeId,
- type: challenge.type
+ type: challenge.type as AcmeChallengeType
}
}
});