Skip to content

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

remove limit

Maidul Islam0f5cbf055cd6
diff --git a/backend/src/services/project/project-service.ts b/backend/src/services/project/project-service.ts
index 38631a8fa7..4c6860058b 100644
--- a/backend/src/services/project/project-service.ts
+++ b/backend/src/services/project/project-service.ts
@@ -776,12 +776,12 @@ export const projectServiceFactory = ({
});
}
- const plan = await licenseService.getPlan(project.orgId);
- if (!plan.auditLogs || auditLogsRetentionDays > plan.auditLogsRetentionDays) {
- throw new BadRequestError({
- message: "Failed to update audit logs retention due to plan limit reached. Upgrade plan to increase."
- });
- }
+ // const plan = await licenseService.getPlan(project.orgId);
+ // if (!plan.auditLogs || auditLogsRetentionDays > plan.auditLogsRetentionDays) {
+ // throw new BadRequestError({
+ // message: "Failed to update audit logs retention due to plan limit reached. Upgrade plan to increase."
+ // });
+ // }
return projectDAL.updateById(project.id, { auditLogsRetentionDays });
};