Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
Fix missing tx in sign cert flow
Carlos Monastyrski6772eb547834
diff --git a/backend/src/services/certificate-v3/certificate-v3-service.ts b/backend/src/services/certificate-v3/certificate-v3-service.tsindex 1c888a6e5b..fd3b85e765 100644--- a/backend/src/services/certificate-v3/certificate-v3-service.ts+++ b/backend/src/services/certificate-v3/certificate-v3-service.ts@@ -1207,7 +1207,7 @@ export const certificateV3ServiceFactory = ({tx});- const signedCertRecord = await certificateDAL.findById(certResult.certificateId);+ const signedCertRecord = await certificateDAL.findById(certResult.certificateId, tx);if (!signedCertRecord) {throw new NotFoundError({ message: "Certificate was signed but could not be found in database" });}