Skip to content

Commit

Permalink
renamed QueueConsumersModule
Browse files Browse the repository at this point in the history
  • Loading branch information
f-w committed Dec 4, 2024
1 parent a997056 commit 72710d1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ import { MiddlewareConfigService } from './config/middleware-config.service';
import { ObserversModule } from './observers/observers.module';
import { ShutdownService } from './observers/shutdown.service';
import { SwaggerService } from './observers/swagger.service';
import { QueueConsumersModule } from './queue/queue-consumers.module';
import { QueueModule } from './queue/queue.module';
import { RssModule } from './rss/rss.module';

@Module({
Expand Down Expand Up @@ -106,7 +106,7 @@ import { RssModule } from './rss/rss.module';
},
}),
CommonModule,
QueueConsumersModule.register(),
QueueModule.register(),
],
providers: [SwaggerService, AppService],
})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { NotificationQueueConsumer } from './notification-queue-consumer';
import { SmsQueueConsumer } from './sms-queue-consumer';

@Module({})
export class QueueConsumersModule {
export class QueueModule {
static register(): DynamicModule {
const providers = [];
const imports = [];
Expand All @@ -28,7 +28,7 @@ export class QueueConsumersModule {
providers.push(NotificationEventsListener);
}
return {
module: QueueConsumersModule,
module: QueueModule,
imports,
providers,
};
Expand Down

0 comments on commit 72710d1

Please sign in to comment.