noop audit module (#1994)

This commit is contained in:
Philip Okugbe
2026-03-05 09:29:39 +00:00
committed by GitHub
parent b4f009513e
commit 66c26af34b
3 changed files with 16 additions and 11 deletions
@@ -0,0 +1,14 @@
import { Global, Module } from '@nestjs/common';
import { AUDIT_SERVICE, NoopAuditService } from './audit.service';
@Global()
@Module({
providers: [
{
provide: AUDIT_SERVICE,
useClass: NoopAuditService,
},
],
exports: [AUDIT_SERVICE],
})
export class NoopAuditModule {}