bug fixes

This commit is contained in:
znetsixe
2025-07-02 10:54:01 +02:00
parent a2018509ef
commit 4665949c88
2 changed files with 37 additions and 29 deletions

View File

@@ -390,6 +390,12 @@ class ValidationUtils {
return fieldSchema.default;
}
// Check for uppercase characters and convert to lowercase if present
if (newConfigValue !== newConfigValue.toLowerCase()) {
this.logger.warn(`${name}.${key} contains uppercase characters. Converting to lowercase: ${newConfigValue} -> ${newConfigValue.toLowerCase()}`);
newConfigValue = newConfigValue.toLowerCase();
}
return newConfigValue;
}