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
Fixed versioning bug
Daniel Hougaard49d07a676243
diff --git a/backend/src/services/secret/secret-version-dal.ts b/backend/src/services/secret/secret-version-dal.tsindex 516a82a77f..275150f46e 100644--- a/backend/src/services/secret/secret-version-dal.ts+++ b/backend/src/services/secret/secret-version-dal.ts@@ -46,7 +46,7 @@ export const secretVersionDALFactory = (db: TDbClient) => {const [doc] = await (tx || db)(TableName.SecretVersion).where(filter).update(updateData)- // .increment("version", 1) // TODO: Is this really needed?+ .increment("version", 1) // TODO: Is this really needed?.returning("*");if (!doc) throw new BadRequestError({ message: "Failed to update document" });return doc;