We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 723e3ad commit 2bd3c25Copy full SHA for 2bd3c25
apps/api/src/config/configuration.ts
@@ -122,9 +122,7 @@ const configuration = {
122
},
123
audit: {
124
toolboxRequestsEnabled: getBoolConfig('AUDIT_TOOLBOX_REQUESTS_ENABLED', 'audit.toolboxRequestsEnabled'),
125
- retentionDays: getConfig('AUDIT_LOG_RETENTION_DAYS', 'audit.retentionDays')
126
- ? parseInt(getConfig('AUDIT_LOG_RETENTION_DAYS', 'audit.retentionDays'), 10)
127
- : undefined,
+ retentionDays: getIntConfig('AUDIT_LOG_RETENTION_DAYS', 'audit.retentionDays'),
128
consoleLogEnabled: getBoolConfig('AUDIT_CONSOLE_LOG_ENABLED', 'audit.consoleLogEnabled'),
129
publish: {
130
enabled: getBoolConfig('AUDIT_PUBLISH_ENABLED', 'audit.publish.enabled'),
0 commit comments