allow hyphens in host name

This commit is contained in:
Maidul Islam
2025-05-19 17:45:12 -07:00
parent f97826ea82
commit 36c428f152
@@ -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 });
}; };