mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-07 11:27:32 +00:00
remove limit
This commit is contained in:
@@ -776,12 +776,12 @@ export const projectServiceFactory = ({
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
const plan = await licenseService.getPlan(project.orgId);
|
// const plan = await licenseService.getPlan(project.orgId);
|
||||||
if (!plan.auditLogs || auditLogsRetentionDays > plan.auditLogsRetentionDays) {
|
// if (!plan.auditLogs || auditLogsRetentionDays > plan.auditLogsRetentionDays) {
|
||||||
throw new BadRequestError({
|
// throw new BadRequestError({
|
||||||
message: "Failed to update audit logs retention due to plan limit reached. Upgrade plan to increase."
|
// message: "Failed to update audit logs retention due to plan limit reached. Upgrade plan to increase."
|
||||||
});
|
// });
|
||||||
}
|
// }
|
||||||
|
|
||||||
return projectDAL.updateById(project.id, { auditLogsRetentionDays });
|
return projectDAL.updateById(project.id, { auditLogsRetentionDays });
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user