refactored ws module
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import { Module, forwardRef } from '@nestjs/common';
|
||||
import { FriendsController } from './friends.controller';
|
||||
import { FriendsService } from './friends.service';
|
||||
import { FriendsNotificationService } from './friends-notification.service';
|
||||
import { DatabaseModule } from '../database/database.module';
|
||||
import { AuthModule } from '../auth/auth.module';
|
||||
import { UsersModule } from '../users/users.module';
|
||||
@@ -9,12 +10,12 @@ import { WsModule } from '../ws/ws.module';
|
||||
@Module({
|
||||
imports: [
|
||||
DatabaseModule,
|
||||
AuthModule,
|
||||
UsersModule,
|
||||
forwardRef(() => AuthModule),
|
||||
forwardRef(() => UsersModule),
|
||||
forwardRef(() => WsModule),
|
||||
],
|
||||
controllers: [FriendsController],
|
||||
providers: [FriendsService],
|
||||
providers: [FriendsService, FriendsNotificationService],
|
||||
exports: [FriendsService],
|
||||
})
|
||||
export class FriendsModule {}
|
||||
|
||||
Reference in New Issue
Block a user