mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
Fix missing tx in sign cert flow
This commit is contained in:
@@ -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" });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user