remove limit

This commit is contained in:
Maidul Islam
2025-05-19 17:27:47 -07:00
parent b960ee61d7
commit 0f5cbf055c
@@ -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 });
}; };