mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-07 11:27:32 +00:00
Fix missing tx in sign cert flow
This commit is contained in:
@@ -1207,7 +1207,7 @@ export const certificateV3ServiceFactory = ({
|
|||||||
tx
|
tx
|
||||||
});
|
});
|
||||||
|
|
||||||
const signedCertRecord = await certificateDAL.findById(certResult.certificateId);
|
const signedCertRecord = await certificateDAL.findById(certResult.certificateId, tx);
|
||||||
if (!signedCertRecord) {
|
if (!signedCertRecord) {
|
||||||
throw new NotFoundError({ message: "Certificate was signed but could not be found in database" });
|
throw new NotFoundError({ message: "Certificate was signed but could not be found in database" });
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user