friends cursor broadcast system (?)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { Module } from '@nestjs/common';
|
||||
import { Module, forwardRef } from '@nestjs/common';
|
||||
import { FriendsController } from './friends.controller';
|
||||
import { FriendsService } from './friends.service';
|
||||
import { DatabaseModule } from '../database/database.module';
|
||||
@@ -7,7 +7,12 @@ import { UsersModule } from '../users/users.module';
|
||||
import { WsModule } from '../ws/ws.module';
|
||||
|
||||
@Module({
|
||||
imports: [DatabaseModule, AuthModule, UsersModule, WsModule],
|
||||
imports: [
|
||||
DatabaseModule,
|
||||
AuthModule,
|
||||
UsersModule,
|
||||
forwardRef(() => WsModule),
|
||||
],
|
||||
controllers: [FriendsController],
|
||||
providers: [FriendsService],
|
||||
exports: [FriendsService],
|
||||
|
||||
Reference in New Issue
Block a user