Skip to content

Commit

Permalink
refactor: no need export providers
Browse files Browse the repository at this point in the history
  • Loading branch information
DIY0R committed Jun 26, 2024
1 parent 238b9b2 commit 454b892
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/rmq.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import { IAppOptions } from './interfaces/app-options.interface';
export class RmqNestjsModule {
static forRoot(
options: IRabbitMQConfig,
appOptions?: IAppOptions
appOptions?: IAppOptions,
): DynamicModule {
return {
module: RmqNestjsModule,
Expand All @@ -24,7 +24,7 @@ export class RmqNestjsModule {
}
static forRootAsync(
options: IRMQSRootAsyncOptions,
appOptions?: IAppOptions
appOptions?: IAppOptions,
): DynamicModule {
return {
module: RmqNestjsModule,
Expand All @@ -41,7 +41,7 @@ export class RmqNestjsModule {
RmqService,
MetaTegsScannerService,
],
exports: [RmqService, MetaTegsScannerService, MODULE_TOKEN],
exports: [RmqService],
};
}
}

0 comments on commit 454b892

Please sign in to comment.