diff --git a/packages/nocodb/src/lib/models/Audit.ts b/packages/nocodb/src/lib/models/Audit.ts index 3b8eb43d1a..a512f96b48 100644 --- a/packages/nocodb/src/lib/models/Audit.ts +++ b/packages/nocodb/src/lib/models/Audit.ts @@ -44,7 +44,7 @@ export default class Audit implements AuditType { forceAwait: process.env['TEST'] === 'true', } ) { - if (process.env['NC_DISABLE_AUDIT'] ?? false) { + if (process.env.NC_DISABLE_AUDIT === 'true') { return; } const insertAudit = async () => {