fix(backend): encapsulate TasksService in TasksModule and export OrdersService
Deploy Canina / deploy (push) Successful in 30s
Deploy Canina / deploy (push) Successful in 30s
This commit is contained in:
1 parent
9520426a66
commit
73bc79b4bb
3 files changed
+14
-2
No files matched your search
@@ -1,4 +1,4 @@
|
||||
import { TasksService } from './common/services/tasks.service';
|
||||
import { TasksModule } from './common/services/tasks.module';
|
||||
import { Module, NestModule, MiddlewareConsumer } from "@nestjs/common";
|
||||
import { PrismaModule } from "./prisma/prisma.module";
|
||||
import { SupportChatModule } from './support-chat/support-chat.module';
|
||||
@@ -80,6 +80,7 @@ import { Request, Response, NextFunction } from "express";
|
||||
B2BModule,
|
||||
FaqModule,
|
||||
MenuModule,
|
||||
TasksModule,
|
||||
],
|
||||
controllers: [MetricsController],
|
||||
providers: [
|
||||
@@ -92,7 +93,6 @@ import { Request, Response, NextFunction } from "express";
|
||||
useClass: CsrfGuard,
|
||||
},
|
||||
RedisService,
|
||||
TasksService,
|
||||
],
|
||||
})
|
||||
export class AppModule implements NestModule {
|
||||
|
||||
Reference in new issue
Block a user