fix: allow audit logs to be increased up to the license maximum (#24061)

This commit is contained in:
DMehaffy 2025-07-31 07:58:50 -07:00 committed by GitHub
parent f34003be2c
commit 20c174685c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -55,7 +55,7 @@ const getRetentionDays = (strapi: Core.Strapi) => {
}
// Allow users to override the license retention days, but not to increase it
if (userRetentionDays && userRetentionDays < licenseRetentionDays) {
if (userRetentionDays && userRetentionDays <= licenseRetentionDays) {
return userRetentionDays;
}