mirror of
https://github.com/docmost/docmost.git
synced 2026-05-07 14:43:06 +08:00
15 lines
297 B
TypeScript
15 lines
297 B
TypeScript
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 {}
|