Browse Source

fix(nocodb): handle string case

pull/5137/head
Wing-Kam Wong 2 years ago
parent
commit
cd1ed334da
  1. 2
      packages/nocodb/src/lib/models/Audit.ts

2
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 () => {

Loading…
Cancel
Save