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