From 902e5944d496847c160356b2e15d535548482c47 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tam=C3=A1s=20Hugy=C3=A1k?= Date: Fri, 16 Oct 2020 11:11:22 +0200 Subject: [PATCH] fix: import feature QueueModule in example app --- example/src/modules/user/user.module.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/example/src/modules/user/user.module.ts b/example/src/modules/user/user.module.ts index 1582f9d..28114ed 100644 --- a/example/src/modules/user/user.module.ts +++ b/example/src/modules/user/user.module.ts @@ -1,4 +1,5 @@ import { Module } from '@nestjs/common'; +import { QueueModule } from '@team-supercharge/nest-amqp'; import { UserController } from './user.controller'; import { UserListener } from './user.listener'; @@ -6,5 +7,6 @@ import { UserListener } from './user.listener'; @Module({ controllers: [UserController], providers: [UserListener], + imports: [QueueModule.forFeature()], }) export class UserModule {}